diff options
68 files changed, 68 insertions, 40 deletions
diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h index dd01d1565..f0aa926ea 100644 --- a/keyboards/ares/config.h +++ b/keyboards/ares/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER LSJ | 25 | #define MANUFACTURER LSJ |
25 | #define PRODUCT QMK Firmware for Ares | 26 | #define PRODUCT QMK Firmware for Ares |
26 | 27 | ||
diff --git a/keyboards/ares/usbconfig.h b/keyboards/ares/usbconfig.h index c6e0b8f81..7c85ff22c 100644 --- a/keyboards/ares/usbconfig.h +++ b/keyboards/ares/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'L', 'S', 'J' | 234 | #define USB_CFG_VENDOR_NAME 'L', 'S', 'J' |
diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h index 8a43aacd9..0a8911b09 100644 --- a/keyboards/bfake/config.h +++ b/keyboards/bfake/config.h | |||
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | 22 | ||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | ||
25 | #define MANUFACTURER NotActuallyWinkeyless | 26 | #define MANUFACTURER NotActuallyWinkeyless |
26 | #define PRODUCT b.fake | 27 | #define PRODUCT b.fake |
27 | 28 | ||
diff --git a/keyboards/bfake/usbconfig.h b/keyboards/bfake/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/bfake/usbconfig.h +++ b/keyboards/bfake/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/coseyfannitutti/discipad/usbconfig.h b/keyboards/coseyfannitutti/discipad/usbconfig.h index 0ae42cac8..510658b44 100644 --- a/keyboards/coseyfannitutti/discipad/usbconfig.h +++ b/keyboards/coseyfannitutti/discipad/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x01, 0x00 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | 234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' |
diff --git a/keyboards/coseyfannitutti/discipline/usbconfig.h b/keyboards/coseyfannitutti/discipline/usbconfig.h index a52f1c1b2..da3ed4607 100644 --- a/keyboards/coseyfannitutti/discipline/usbconfig.h +++ b/keyboards/coseyfannitutti/discipline/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x01, 0x00 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | 234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' |
diff --git a/keyboards/donutcables/budget96/config.h b/keyboards/donutcables/budget96/config.h index b8772fc86..127e542f1 100644 --- a/keyboards/donutcables/budget96/config.h +++ b/keyboards/donutcables/budget96/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER DonutCables | 25 | #define MANUFACTURER DonutCables |
25 | #define PRODUCT budget96 | 26 | #define PRODUCT budget96 |
26 | 27 | ||
diff --git a/keyboards/donutcables/budget96/usbconfig.h b/keyboards/donutcables/budget96/usbconfig.h index c290b434b..03ec48972 100644 --- a/keyboards/donutcables/budget96/usbconfig.h +++ b/keyboards/donutcables/budget96/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'D', 'o', 'n', 'u', 't', 'C', 'a', 'b', 'l', 'e', 's' | 233 | #define USB_CFG_VENDOR_NAME 'D', 'o', 'n', 'u', 't', 'C', 'a', 'b', 'l', 'e', 's' |
diff --git a/keyboards/eve/meteor/config.h b/keyboards/eve/meteor/config.h index c948216af..b23bc877f 100644 --- a/keyboards/eve/meteor/config.h +++ b/keyboards/eve/meteor/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER EVE | 25 | #define MANUFACTURER EVE |
25 | #define PRODUCT Meteor | 26 | #define PRODUCT Meteor |
26 | 27 | ||
diff --git a/keyboards/eve/meteor/usbconfig.h b/keyboards/eve/meteor/usbconfig.h index fd5d95e2e..9b045607f 100644 --- a/keyboards/eve/meteor/usbconfig.h +++ b/keyboards/eve/meteor/usbconfig.h | |||
@@ -217,7 +217,7 @@ section at the end of this file). | |||
217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
218 | * the implications! | 218 | * the implications! |
219 | */ | 219 | */ |
220 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h index 30c5f55eb..7a1471a06 100644 --- a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' | 233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h index 30c5f55eb..7a1471a06 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' | 233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' |
diff --git a/keyboards/exent/usbconfig.h b/keyboards/exent/usbconfig.h index 75f318b99..83ad06544 100644 --- a/keyboards/exent/usbconfig.h +++ b/keyboards/exent/usbconfig.h | |||
@@ -217,7 +217,7 @@ section at the end of this file). | |||
217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
218 | * the implications! | 218 | * the implications! |
219 | */ | 219 | */ |
220 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/facew/config.h b/keyboards/facew/config.h index 62ba98be5..9a31f9278 100644 --- a/keyboards/facew/config.h +++ b/keyboards/facew/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER NotActuallyWinkeyless | 25 | #define MANUFACTURER NotActuallyWinkeyless |
25 | #define PRODUCT facew | 26 | #define PRODUCT facew |
26 | 27 | ||
diff --git a/keyboards/facew/usbconfig.h b/keyboards/facew/usbconfig.h index d787d76ea..47755fa8c 100644 --- a/keyboards/facew/usbconfig.h +++ b/keyboards/facew/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'S', 'p', 'r', 'i', 't' | 233 | #define USB_CFG_VENDOR_NAME 'S', 'p', 'r', 'i', 't' |
diff --git a/keyboards/ft/mars80/usbconfig.h b/keyboards/ft/mars80/usbconfig.h index 12018ee3b..4430d9e67 100644 --- a/keyboards/ft/mars80/usbconfig.h +++ b/keyboards/ft/mars80/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'f', 't' | 233 | #define USB_CFG_VENDOR_NAME 'f', 't' |
diff --git a/keyboards/gingham/usbconfig.h b/keyboards/gingham/usbconfig.h index 7b408693d..3c7aa0da0 100644 --- a/keyboards/gingham/usbconfig.h +++ b/keyboards/gingham/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x01, 0x00 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'Y','i','a','n','c','a','r','-','D','e', 's', 'i', 'g', 'n', 's' | 234 | #define USB_CFG_VENDOR_NAME 'Y','i','a','n','c','a','r','-','D','e', 's', 'i', 'g', 'n', 's' |
diff --git a/keyboards/gray_studio/hb85/config.h b/keyboards/gray_studio/hb85/config.h index da230f7e8..dff360ec6 100644 --- a/keyboards/gray_studio/hb85/config.h +++ b/keyboards/gray_studio/hb85/config.h | |||
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | 19 | ||
20 | #define VENDOR_ID 0x20A0 | 20 | #define VENDOR_ID 0x20A0 |
21 | #define PRODUCT_ID 0x422F | 21 | #define PRODUCT_ID 0x422F |
22 | #define DEVICE_VER 0x0200 | ||
22 | #define MANUFACTURER Gray Studio | 23 | #define MANUFACTURER Gray Studio |
23 | #define PRODUCT HB85 | 24 | #define PRODUCT HB85 |
24 | 25 | ||
diff --git a/keyboards/gray_studio/hb85/usbconfig.h b/keyboards/gray_studio/hb85/usbconfig.h index 725a47ac3..186e2dca3 100644 --- a/keyboards/gray_studio/hb85/usbconfig.h +++ b/keyboards/gray_studio/hb85/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'G', 'r', 'a', 'y', ' ', 'S', 't', 'u', 'd', 'i', 'o' | 233 | #define USB_CFG_VENDOR_NAME 'G', 'r', 'a', 'y', ' ', 'S', 't', 'u', 'd', 'i', 'o' |
diff --git a/keyboards/handwired/hnah40/usbconfig.h b/keyboards/handwired/hnah40/usbconfig.h index 996c4584b..b26a3c7d6 100644 --- a/keyboards/handwired/hnah40/usbconfig.h +++ b/keyboards/handwired/hnah40/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x01 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'H','n','a','h','K','B' | 234 | #define USB_CFG_VENDOR_NAME 'H','n','a','h','K','B' |
diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index e91f46aeb..444ebad07 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x1234 | 22 | #define VENDOR_ID 0x1234 |
23 | #define PRODUCT_ID 0x5679 | 23 | #define PRODUCT_ID 0x5679 |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER winkeyless.kr | 25 | #define MANUFACTURER winkeyless.kr |
25 | #define PRODUCT JC65 PS2AVRGB | 26 | #define PRODUCT JC65 PS2AVRGB |
26 | 27 | ||
diff --git a/keyboards/jc65/v32a/usbconfig.h b/keyboards/jc65/v32a/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/jc65/v32a/usbconfig.h +++ b/keyboards/jc65/v32a/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/jj40/config.h b/keyboards/jj40/config.h index 8efbc7ba2..2310ce87e 100644 --- a/keyboards/jj40/config.h +++ b/keyboards/jj40/config.h | |||
@@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
18 | 18 | ||
19 | #define VENDOR_ID 0x20A0 | 19 | #define VENDOR_ID 0x20A0 |
20 | #define PRODUCT_ID 0x422D | 20 | #define PRODUCT_ID 0x422D |
21 | #define DEVICE_VER 0x0200 | ||
21 | // TODO: share these strings with usbconfig.h | 22 | // TODO: share these strings with usbconfig.h |
22 | // Edit usbconfig.h to change these. | 23 | // Edit usbconfig.h to change these. |
23 | #define MANUFACTURER Kprepublic | 24 | #define MANUFACTURER Kprepublic |
diff --git a/keyboards/jj40/usbconfig.h b/keyboards/jj40/usbconfig.h index d1fb1f517..4599c03dc 100644 --- a/keyboards/jj40/usbconfig.h +++ b/keyboards/jj40/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/jj4x4/config.h b/keyboards/jj4x4/config.h index 423d6653e..8918e60da 100644 --- a/keyboards/jj4x4/config.h +++ b/keyboards/jj4x4/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | // TODO: share these strings with usbconfig.h | 25 | // TODO: share these strings with usbconfig.h |
25 | // Edit usbconfig.h to change these. | 26 | // Edit usbconfig.h to change these. |
26 | #define MANUFACTURER Kprepublic | 27 | #define MANUFACTURER Kprepublic |
diff --git a/keyboards/jj4x4/usbconfig.h b/keyboards/jj4x4/usbconfig.h index 1a5ad4056..96bf2eda8 100644 --- a/keyboards/jj4x4/usbconfig.h +++ b/keyboards/jj4x4/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/jj50/config.h b/keyboards/jj50/config.h index 0d35e3129..dfd8a4a8f 100644 --- a/keyboards/jj50/config.h +++ b/keyboards/jj50/config.h | |||
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | 24 | ||
25 | #define VENDOR_ID 0x20A0 | 25 | #define VENDOR_ID 0x20A0 |
26 | #define PRODUCT_ID 0x422D | 26 | #define PRODUCT_ID 0x422D |
27 | #define DEVICE_VER 0x0200 | ||
27 | // TODO: share these strings with usbconfig.h | 28 | // TODO: share these strings with usbconfig.h |
28 | // Edit usbconfig.h to change these. | 29 | // Edit usbconfig.h to change these. |
29 | #define MANUFACTURER kprepublic | 30 | #define MANUFACTURER kprepublic |
diff --git a/keyboards/jj50/usbconfig.h b/keyboards/jj50/usbconfig.h index 0618bbca8..b05fc975e 100644 --- a/keyboards/jj50/usbconfig.h +++ b/keyboards/jj50/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'K', 'P', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c' | 234 | #define USB_CFG_VENDOR_NAME 'K', 'P', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c' |
diff --git a/keyboards/kbdfans/kbdpad/mk1/config.h b/keyboards/kbdfans/kbdpad/mk1/config.h index 1f0b371af..d41ec6001 100644 --- a/keyboards/kbdfans/kbdpad/mk1/config.h +++ b/keyboards/kbdfans/kbdpad/mk1/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER KBDfans | 25 | #define MANUFACTURER KBDfans |
25 | #define PRODUCT KBDPAD-MKI | 26 | #define PRODUCT KBDPAD-MKI |
26 | 27 | ||
diff --git a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h +++ b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/mechmini/v1/usbconfig.h b/keyboards/mechmini/v1/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/mechmini/v1/usbconfig.h +++ b/keyboards/mechmini/v1/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h index 334358aad..4adfcc86b 100644 --- a/keyboards/mehkee96/config.h +++ b/keyboards/mehkee96/config.h | |||
@@ -5,6 +5,7 @@ | |||
5 | /* USB Device descriptor parameter */ | 5 | /* USB Device descriptor parameter */ |
6 | #define VENDOR_ID 0x20A0 | 6 | #define VENDOR_ID 0x20A0 |
7 | #define PRODUCT_ID 0x422D | 7 | #define PRODUCT_ID 0x422D |
8 | #define DEVICE_VER 0x0200 | ||
8 | #define MANUFACTURER mehkee | 9 | #define MANUFACTURER mehkee |
9 | #define PRODUCT 96kee | 10 | #define PRODUCT 96kee |
10 | 11 | ||
diff --git a/keyboards/mehkee96/usbconfig.h b/keyboards/mehkee96/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/mehkee96/usbconfig.h +++ b/keyboards/mehkee96/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/mt40/usbconfig.h b/keyboards/mt40/usbconfig.h index 797e410a5..e1f5f2ea4 100644 --- a/keyboards/mt40/usbconfig.h +++ b/keyboards/mt40/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x03 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'T', 'h', 'o', 'm', 'a', 's', 'D', 'e', 'h', 'a', 'e', 'z', 'e' | 234 | #define USB_CFG_VENDOR_NAME 'T', 'h', 'o', 'm', 'a', 's', 'D', 'e', 'h', 'a', 'e', 'z', 'e' |
diff --git a/keyboards/panc60/config.h b/keyboards/panc60/config.h index 921d8da30..c565f39bc 100644 --- a/keyboards/panc60/config.h +++ b/keyboards/panc60/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER Panc Interactive | 25 | #define MANUFACTURER Panc Interactive |
25 | #define PRODUCT panc60 | 26 | #define PRODUCT panc60 |
26 | 27 | ||
diff --git a/keyboards/panc60/usbconfig.h b/keyboards/panc60/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/panc60/usbconfig.h +++ b/keyboards/panc60/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h index 3dbe5ee03..0ae69e8e2 100644 --- a/keyboards/pearl/config.h +++ b/keyboards/pearl/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0xFEED | 22 | #define VENDOR_ID 0xFEED |
23 | #define PRODUCT_ID 0x0348 | 23 | #define PRODUCT_ID 0x0348 |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER Pearl Boards | 25 | #define MANUFACTURER Pearl Boards |
25 | #define PRODUCT Pearl | 26 | #define PRODUCT Pearl |
26 | #define DESCRIPTION 40% keyboard | 27 | #define DESCRIPTION 40% keyboard |
diff --git a/keyboards/pearl/usbconfig.h b/keyboards/pearl/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/pearl/usbconfig.h +++ b/keyboards/pearl/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index 45581b549..bae6ed20f 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h | |||
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | 22 | ||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | ||
25 | #define MANUFACTURER NotActuallyPercent | 26 | #define MANUFACTURER NotActuallyPercent |
26 | #define PRODUCT CANOE | 27 | #define PRODUCT CANOE |
27 | 28 | ||
diff --git a/keyboards/percent/canoe/usbconfig.h b/keyboards/percent/canoe/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/percent/canoe/usbconfig.h +++ b/keyboards/percent/canoe/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index ed7c558db..7c68d797d 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h | |||
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | 20 | ||
21 | #define VENDOR_ID 0x20A0 | 21 | #define VENDOR_ID 0x20A0 |
22 | #define PRODUCT_ID 0x422D | 22 | #define PRODUCT_ID 0x422D |
23 | #define DEVICE_VER 0x0200 | ||
23 | 24 | ||
24 | #define MANUFACTURER Percent | 25 | #define MANUFACTURER Percent |
25 | #define PRODUCT Skog TKL | 26 | #define PRODUCT Skog TKL |
diff --git a/keyboards/percent/skog/usbconfig.h b/keyboards/percent/skog/usbconfig.h index 3fb8e46ab..3a0628658 100644 --- a/keyboards/percent/skog/usbconfig.h +++ b/keyboards/percent/skog/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'P','e','r','c','e','n','t' | 234 | #define USB_CFG_VENDOR_NAME 'P','e','r','c','e','n','t' |
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index 836213911..97d11238e 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER Percent | 25 | #define MANUFACTURER Percent |
25 | #define PRODUCT Skog Lite | 26 | #define PRODUCT Skog Lite |
26 | 27 | ||
diff --git a/keyboards/percent/skog_lite/usbconfig.h b/keyboards/percent/skog_lite/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/percent/skog_lite/usbconfig.h +++ b/keyboards/percent/skog_lite/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/plaid/usbconfig.h b/keyboards/plaid/usbconfig.h index c505c7f66..ba48a3264 100644 --- a/keyboards/plaid/usbconfig.h +++ b/keyboards/plaid/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x01 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s' | 234 | #define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s' |
diff --git a/keyboards/singa/config.h b/keyboards/singa/config.h index dda54ccf4..badaef513 100644 --- a/keyboards/singa/config.h +++ b/keyboards/singa/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER Singa Keyboards | 25 | #define MANUFACTURER Singa Keyboards |
25 | #define PRODUCT Singa | 26 | #define PRODUCT Singa |
26 | 27 | ||
diff --git a/keyboards/singa/usbconfig.h b/keyboards/singa/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/singa/usbconfig.h +++ b/keyboards/singa/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/tgr/alice/config.h b/keyboards/tgr/alice/config.h index 2200fbbe4..4c36896b7 100644 --- a/keyboards/tgr/alice/config.h +++ b/keyboards/tgr/alice/config.h | |||
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | 19 | ||
20 | #define VENDOR_ID 0x20A0 | 20 | #define VENDOR_ID 0x20A0 |
21 | #define PRODUCT_ID 0x422E | 21 | #define PRODUCT_ID 0x422E |
22 | #define DEVICE_VER 0x0200 | ||
22 | // TODO: share these strings with usbconfig.h | 23 | // TODO: share these strings with usbconfig.h |
23 | // Edit usbconfig.h to change these. | 24 | // Edit usbconfig.h to change these. |
24 | #define MANUFACTURER TGR | 25 | #define MANUFACTURER TGR |
diff --git a/keyboards/tgr/alice/usbconfig.h b/keyboards/tgr/alice/usbconfig.h index 8d6cbe016..d2955d062 100644 --- a/keyboards/tgr/alice/usbconfig.h +++ b/keyboards/tgr/alice/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'T', 'G', 'R' | 234 | #define USB_CFG_VENDOR_NAME 'T', 'G', 'R' |
diff --git a/keyboards/tgr/jane/config.h b/keyboards/tgr/jane/config.h index a5d63f621..dd119d3b0 100644 --- a/keyboards/tgr/jane/config.h +++ b/keyboards/tgr/jane/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER TGR | 25 | #define MANUFACTURER TGR |
25 | #define PRODUCT Jane | 26 | #define PRODUCT Jane |
26 | 27 | ||
diff --git a/keyboards/tgr/jane/usbconfig.h b/keyboards/tgr/jane/usbconfig.h index 782c2ff1a..e65d210ac 100644 --- a/keyboards/tgr/jane/usbconfig.h +++ b/keyboards/tgr/jane/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h index a871c0e27..1c4f3431a 100644 --- a/keyboards/unikorn/config.h +++ b/keyboards/unikorn/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER Singa and TGR | 25 | #define MANUFACTURER Singa and TGR |
25 | #define PRODUCT Unikorn 60 | 26 | #define PRODUCT Unikorn 60 |
26 | 27 | ||
diff --git a/keyboards/unikorn/usbconfig.h b/keyboards/unikorn/usbconfig.h index 29a3bd06e..3dcd1ccde 100644 --- a/keyboards/unikorn/usbconfig.h +++ b/keyboards/unikorn/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 's', 'i', 'n', 'g', 'a', 't', 'g', 'r' | 233 | #define USB_CFG_VENDOR_NAME 's', 'i', 'n', 'g', 'a', 't', 'g', 'r' |
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index 20f3642dc..9d90e16a3 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h | |||
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | 20 | ||
21 | #define VENDOR_ID 0x20A0 | 21 | #define VENDOR_ID 0x20A0 |
22 | #define PRODUCT_ID 0x422D | 22 | #define PRODUCT_ID 0x422D |
23 | #define DEVICE_VER 0x0200 | ||
23 | // You can edit those at usbconfig.h about line 250. These values will | 24 | // You can edit those at usbconfig.h about line 250. These values will |
24 | // unforunatly be ignored so far | 25 | // unforunatly be ignored so far |
25 | #define MANUFACTURER winkeyless.kr | 26 | #define MANUFACTURER winkeyless.kr |
diff --git a/keyboards/winkeyless/bface/usbconfig.h b/keyboards/winkeyless/bface/usbconfig.h index 2109bb14d..5ff26399b 100644 --- a/keyboards/winkeyless/bface/usbconfig.h +++ b/keyboards/winkeyless/bface/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 96acd9bf1..37df80f80 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h | |||
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | 22 | ||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | ||
25 | #define MANUFACTURER winkeyless.kr | 26 | #define MANUFACTURER winkeyless.kr |
26 | #define PRODUCT B.mini | 27 | #define PRODUCT B.mini |
27 | 28 | ||
diff --git a/keyboards/winkeyless/bmini/usbconfig.h b/keyboards/winkeyless/bmini/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/winkeyless/bmini/usbconfig.h +++ b/keyboards/winkeyless/bmini/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index ebd33ad61..35c8ce933 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h | |||
@@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | 21 | ||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422E | 23 | #define PRODUCT_ID 0x422E |
24 | #define DEVICE_VER 0x0200 | ||
24 | #define MANUFACTURER winkeyless.kr | 25 | #define MANUFACTURER winkeyless.kr |
25 | #define PRODUCT B.mini Ex | 26 | #define PRODUCT B.mini Ex |
26 | 27 | ||
diff --git a/keyboards/winkeyless/bminiex/usbconfig.h b/keyboards/winkeyless/bminiex/usbconfig.h index f6c85cc69..85a915bb4 100644 --- a/keyboards/winkeyless/bminiex/usbconfig.h +++ b/keyboards/winkeyless/bminiex/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/keyboards/ymd75/config.h b/keyboards/ymd75/config.h index 6afd077b0..a56a1b54b 100644 --- a/keyboards/ymd75/config.h +++ b/keyboards/ymd75/config.h | |||
@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | 24 | ||
25 | #define VENDOR_ID 0x20A0 | 25 | #define VENDOR_ID 0x20A0 |
26 | #define PRODUCT_ID 0x422D | 26 | #define PRODUCT_ID 0x422D |
27 | #define DEVICE_VER 0x0200 | ||
27 | 28 | ||
28 | // TODO: share these strings with usbconfig.h | 29 | // TODO: share these strings with usbconfig.h |
29 | // Edit usbconfig.h to change these. | 30 | // Edit usbconfig.h to change these. |
diff --git a/keyboards/ymd75/usbconfig.h b/keyboards/ymd75/usbconfig.h index 271ab70dc..0e570b9ec 100644 --- a/keyboards/ymd75/usbconfig.h +++ b/keyboards/ymd75/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' | 234 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' |
diff --git a/keyboards/ymd96/config.h b/keyboards/ymd96/config.h index 25cf19ac4..5c496d8d2 100644 --- a/keyboards/ymd96/config.h +++ b/keyboards/ymd96/config.h | |||
@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | 23 | ||
24 | #define VENDOR_ID 0x20A0 | 24 | #define VENDOR_ID 0x20A0 |
25 | #define PRODUCT_ID 0x422D | 25 | #define PRODUCT_ID 0x422D |
26 | #define DEVICE_VER 0x0200 | ||
26 | // Edit usbconfig.h to change these. | 27 | // Edit usbconfig.h to change these. |
27 | #define MANUFACTURER ymdkey | 28 | #define MANUFACTURER ymdkey |
28 | #define PRODUCT ymd96 | 29 | #define PRODUCT ymd96 |
diff --git a/keyboards/ymd96/usbconfig.h b/keyboards/ymd96/usbconfig.h index a218829a6..83613384d 100644 --- a/keyboards/ymd96/usbconfig.h +++ b/keyboards/ymd96/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'y','m','d','k','e','y' | 234 | #define USB_CFG_VENDOR_NAME 'y','m','d','k','e','y' |
diff --git a/keyboards/ymdk/bface/config.h b/keyboards/ymdk/bface/config.h index 8eaa1188e..9e5a9134f 100644 --- a/keyboards/ymdk/bface/config.h +++ b/keyboards/ymdk/bface/config.h | |||
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | 19 | ||
20 | #define VENDOR_ID 0x20A0 | 20 | #define VENDOR_ID 0x20A0 |
21 | #define PRODUCT_ID 0x422D | 21 | #define PRODUCT_ID 0x422D |
22 | #define DEVICE_VER 0x0200 | ||
22 | // You can edit those at usbconfig.h about line 250. These values will | 23 | // You can edit those at usbconfig.h about line 250. These values will |
23 | // unforunatly be ignored so far | 24 | // unforunatly be ignored so far |
24 | #define MANUFACTURER YMDK | 25 | #define MANUFACTURER YMDK |
diff --git a/keyboards/ymdk/bface/usbconfig.h b/keyboards/ymdk/bface/usbconfig.h index 24191f5e3..7768c5cae 100644 --- a/keyboards/ymdk/bface/usbconfig.h +++ b/keyboards/ymdk/bface/usbconfig.h | |||
@@ -227,7 +227,7 @@ section at the end of this file). | |||
227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 227 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
228 | * the implications! | 228 | * the implications! |
229 | */ | 229 | */ |
230 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' | 233 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' |
diff --git a/keyboards/ymdk_np21/config.h b/keyboards/ymdk_np21/config.h index 30ba40081..4a846f5e9 100644 --- a/keyboards/ymdk_np21/config.h +++ b/keyboards/ymdk_np21/config.h | |||
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | 22 | ||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | ||
25 | // TODO: share these strings with usbconfig.h | 26 | // TODO: share these strings with usbconfig.h |
26 | // Edit usbconfig.h to change these. | 27 | // Edit usbconfig.h to change these. |
27 | #define MANUFACTURER ymdk | 28 | #define MANUFACTURER ymdk |
diff --git a/keyboards/ymdk_np21/usbconfig.h b/keyboards/ymdk_np21/usbconfig.h index d1fb1f517..4599c03dc 100644 --- a/keyboards/ymdk_np21/usbconfig.h +++ b/keyboards/ymdk_np21/usbconfig.h | |||
@@ -228,7 +228,7 @@ section at the end of this file). | |||
228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 228 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
229 | * the implications! | 229 | * the implications! |
230 | */ | 230 | */ |
231 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |
diff --git a/quantum/template/ps2avrgb/usbconfig.h b/quantum/template/ps2avrgb/usbconfig.h index 75f318b99..83ad06544 100644 --- a/quantum/template/ps2avrgb/usbconfig.h +++ b/quantum/template/ps2avrgb/usbconfig.h | |||
@@ -217,7 +217,7 @@ section at the end of this file). | |||
217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 217 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
218 | * the implications! | 218 | * the implications! |
219 | */ | 219 | */ |
220 | #define USB_CFG_DEVICE_VERSION 0x00, 0x02 | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | 223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' |