diff options
Diffstat (limited to 'keyboards')
48 files changed, 144 insertions, 429 deletions
diff --git a/keyboards/ares/usbconfig.h b/keyboards/ares/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/ares/usbconfig.h +++ b/keyboards/ares/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/bfake/usbconfig.h b/keyboards/bfake/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/bfake/usbconfig.h +++ b/keyboards/bfake/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/chidori/usbconfig.h b/keyboards/chidori/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/chidori/usbconfig.h +++ b/keyboards/chidori/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/coseyfannitutti/discipad/usbconfig.h b/keyboards/coseyfannitutti/discipad/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/coseyfannitutti/discipad/usbconfig.h +++ b/keyboards/coseyfannitutti/discipad/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/coseyfannitutti/discipline/usbconfig.h b/keyboards/coseyfannitutti/discipline/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/coseyfannitutti/discipline/usbconfig.h +++ b/keyboards/coseyfannitutti/discipline/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/coseyfannitutti/mysterium/usbconfig.h b/keyboards/coseyfannitutti/mysterium/usbconfig.h index bec7cc295..82c067a64 100644 --- a/keyboards/coseyfannitutti/mysterium/usbconfig.h +++ b/keyboards/coseyfannitutti/mysterium/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/coseyfannitutti/romeo/usbconfig.h b/keyboards/coseyfannitutti/romeo/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/coseyfannitutti/romeo/usbconfig.h +++ b/keyboards/coseyfannitutti/romeo/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/db/db63/usbconfig.h b/keyboards/db/db63/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/db/db63/usbconfig.h +++ b/keyboards/db/db63/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/donutcables/budget96/usbconfig.h b/keyboards/donutcables/budget96/usbconfig.h index d0454d04c..b70db217f 100644 --- a/keyboards/donutcables/budget96/usbconfig.h +++ b/keyboards/donutcables/budget96/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/eve/meteor/usbconfig.h b/keyboards/eve/meteor/usbconfig.h index 5fad0b3a5..0874f1173 100644 --- a/keyboards/eve/meteor/usbconfig.h +++ b/keyboards/eve/meteor/usbconfig.h | |||
| @@ -197,7 +197,7 @@ section at the end of this file). | |||
| 197 | 197 | ||
| 198 | /* -------------------------- Device Description --------------------------- */ | 198 | /* -------------------------- Device Description --------------------------- */ |
| 199 | 199 | ||
| 200 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 200 | #define USB_CFG_VENDOR_ID |
| 201 | /* USB vendor ID for the device, low byte first. If you have registered your | 201 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -206,7 +206,7 @@ section at the end of this file). | |||
| 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 207 | * the implications! | 207 | * the implications! |
| 208 | */ | 208 | */ |
| 209 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 209 | #define USB_CFG_DEVICE_ID |
| 210 | /* This is the ID of the product, low byte first. It is interpreted in the | 210 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 211 | * scope of the vendor ID. If you have registered your own VID with usb.org | 211 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -217,9 +217,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 221 | /* Version number of the device: Minor number first, then major number. | ||
| 222 | */ | ||
| 223 | #define USB_CFG_DEVICE_CLASS 0 | 220 | #define USB_CFG_DEVICE_CLASS 0 |
| 224 | #define USB_CFG_DEVICE_SUBCLASS 0 | 221 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 225 | /* See USB specification if you want to conform to an existing device class. | 222 | /* See USB specification if you want to conform to an existing device class. |
| @@ -298,18 +295,15 @@ section at the end of this file). | |||
| 298 | * }; | 295 | * }; |
| 299 | */ | 296 | */ |
| 300 | 297 | ||
| 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 298 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 299 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 300 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 301 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 303 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 304 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 305 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 310 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 306 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 312 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 313 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 307 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 314 | 308 | ||
| 315 | #define usbMsgPtr_t unsigned short | 309 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/exent/usbconfig.h b/keyboards/exent/usbconfig.h index 4acb6b281..6e910a703 100644 --- a/keyboards/exent/usbconfig.h +++ b/keyboards/exent/usbconfig.h | |||
| @@ -197,7 +197,7 @@ section at the end of this file). | |||
| 197 | 197 | ||
| 198 | /* -------------------------- Device Description --------------------------- */ | 198 | /* -------------------------- Device Description --------------------------- */ |
| 199 | 199 | ||
| 200 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 200 | #define USB_CFG_VENDOR_ID |
| 201 | /* USB vendor ID for the device, low byte first. If you have registered your | 201 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -206,7 +206,7 @@ section at the end of this file). | |||
| 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 207 | * the implications! | 207 | * the implications! |
| 208 | */ | 208 | */ |
| 209 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 209 | #define USB_CFG_DEVICE_ID |
| 210 | /* This is the ID of the product, low byte first. It is interpreted in the | 210 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 211 | * scope of the vendor ID. If you have registered your own VID with usb.org | 211 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -217,9 +217,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 221 | /* Version number of the device: Minor number first, then major number. | ||
| 222 | */ | ||
| 223 | #define USB_CFG_DEVICE_CLASS 0 | 220 | #define USB_CFG_DEVICE_CLASS 0 |
| 224 | #define USB_CFG_DEVICE_SUBCLASS 0 | 221 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 225 | /* See USB specification if you want to conform to an existing device class. | 222 | /* See USB specification if you want to conform to an existing device class. |
| @@ -298,18 +295,15 @@ section at the end of this file). | |||
| 298 | * }; | 295 | * }; |
| 299 | */ | 296 | */ |
| 300 | 297 | ||
| 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 298 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 299 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 300 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 301 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 303 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 304 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 305 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 310 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 306 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 312 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 313 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 307 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 314 | 308 | ||
| 315 | #define usbMsgPtr_t unsigned short | 309 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/facew/usbconfig.h b/keyboards/facew/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/facew/usbconfig.h +++ b/keyboards/facew/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/ft/mars80/usbconfig.h b/keyboards/ft/mars80/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/ft/mars80/usbconfig.h +++ b/keyboards/ft/mars80/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/gingham/usbconfig.h b/keyboards/gingham/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/gingham/usbconfig.h +++ b/keyboards/gingham/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/gray_studio/hb85/usbconfig.h b/keyboards/gray_studio/hb85/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/gray_studio/hb85/usbconfig.h +++ b/keyboards/gray_studio/hb85/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/handwired/hnah40/usbconfig.h b/keyboards/handwired/hnah40/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/handwired/hnah40/usbconfig.h +++ b/keyboards/handwired/hnah40/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/j80/usbconfig.h b/keyboards/j80/usbconfig.h index 4acb6b281..6e910a703 100644 --- a/keyboards/j80/usbconfig.h +++ b/keyboards/j80/usbconfig.h | |||
| @@ -197,7 +197,7 @@ section at the end of this file). | |||
| 197 | 197 | ||
| 198 | /* -------------------------- Device Description --------------------------- */ | 198 | /* -------------------------- Device Description --------------------------- */ |
| 199 | 199 | ||
| 200 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 200 | #define USB_CFG_VENDOR_ID |
| 201 | /* USB vendor ID for the device, low byte first. If you have registered your | 201 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 202 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 203 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -206,7 +206,7 @@ section at the end of this file). | |||
| 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 206 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 207 | * the implications! | 207 | * the implications! |
| 208 | */ | 208 | */ |
| 209 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 209 | #define USB_CFG_DEVICE_ID |
| 210 | /* This is the ID of the product, low byte first. It is interpreted in the | 210 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 211 | * scope of the vendor ID. If you have registered your own VID with usb.org | 211 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 212 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -217,9 +217,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 221 | /* Version number of the device: Minor number first, then major number. | ||
| 222 | */ | ||
| 223 | #define USB_CFG_DEVICE_CLASS 0 | 220 | #define USB_CFG_DEVICE_CLASS 0 |
| 224 | #define USB_CFG_DEVICE_SUBCLASS 0 | 221 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 225 | /* See USB specification if you want to conform to an existing device class. | 222 | /* See USB specification if you want to conform to an existing device class. |
| @@ -298,18 +295,15 @@ section at the end of this file). | |||
| 298 | * }; | 295 | * }; |
| 299 | */ | 296 | */ |
| 300 | 297 | ||
| 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 298 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 299 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 300 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 301 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 303 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 304 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 305 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 310 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 306 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 312 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 313 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 307 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 314 | 308 | ||
| 315 | #define usbMsgPtr_t unsigned short | 309 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/jc65/v32a/usbconfig.h b/keyboards/jc65/v32a/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/jc65/v32a/usbconfig.h +++ b/keyboards/jc65/v32a/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/jj40/usbconfig.h b/keyboards/jj40/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/jj40/usbconfig.h +++ b/keyboards/jj40/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/jj4x4/usbconfig.h b/keyboards/jj4x4/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/jj4x4/usbconfig.h +++ b/keyboards/jj4x4/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/jj50/usbconfig.h b/keyboards/jj50/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/jj50/usbconfig.h +++ b/keyboards/jj50/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h +++ b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/keycapsss/plaid_pad/usbconfig.h b/keyboards/keycapsss/plaid_pad/usbconfig.h index 0cacbd724..3e88910ce 100644 --- a/keyboards/keycapsss/plaid_pad/usbconfig.h +++ b/keyboards/keycapsss/plaid_pad/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/kira80/usbconfig.h b/keyboards/kira80/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/kira80/usbconfig.h +++ b/keyboards/kira80/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/leeku/finger65/usbconfig.h b/keyboards/leeku/finger65/usbconfig.h index 12e49e0ee..cb8e44d9d 100644 --- a/keyboards/leeku/finger65/usbconfig.h +++ b/keyboards/leeku/finger65/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,7 +305,7 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 314 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/mechmini/v1/usbconfig.h b/keyboards/mechmini/v1/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/mechmini/v1/usbconfig.h +++ b/keyboards/mechmini/v1/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/mehkee96/usbconfig.h b/keyboards/mehkee96/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/mehkee96/usbconfig.h +++ b/keyboards/mehkee96/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/mt40/usbconfig.h b/keyboards/mt40/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/mt40/usbconfig.h +++ b/keyboards/mt40/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/panc60/usbconfig.h b/keyboards/panc60/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/panc60/usbconfig.h +++ b/keyboards/panc60/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/pearl/usbconfig.h b/keyboards/pearl/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/pearl/usbconfig.h +++ b/keyboards/pearl/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/percent/canoe/usbconfig.h b/keyboards/percent/canoe/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/percent/canoe/usbconfig.h +++ b/keyboards/percent/canoe/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/percent/skog/usbconfig.h b/keyboards/percent/skog/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/percent/skog/usbconfig.h +++ b/keyboards/percent/skog/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/percent/skog_lite/usbconfig.h b/keyboards/percent/skog_lite/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/percent/skog_lite/usbconfig.h +++ b/keyboards/percent/skog_lite/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/plaid/usbconfig.h b/keyboards/plaid/usbconfig.h index ee040d16b..5f2a8baf0 100644 --- a/keyboards/plaid/usbconfig.h +++ b/keyboards/plaid/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/singa/usbconfig.h b/keyboards/singa/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/singa/usbconfig.h +++ b/keyboards/singa/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/tartan/usbconfig.h b/keyboards/tartan/usbconfig.h index 0cacbd724..3e88910ce 100644 --- a/keyboards/tartan/usbconfig.h +++ b/keyboards/tartan/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/tgr/alice/usbconfig.h b/keyboards/tgr/alice/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/tgr/alice/usbconfig.h +++ b/keyboards/tgr/alice/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/tgr/jane/usbconfig.h b/keyboards/tgr/jane/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/tgr/jane/usbconfig.h +++ b/keyboards/tgr/jane/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/unikorn/usbconfig.h b/keyboards/unikorn/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/unikorn/usbconfig.h +++ b/keyboards/unikorn/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/winkeyless/bface/usbconfig.h b/keyboards/winkeyless/bface/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/winkeyless/bface/usbconfig.h +++ b/keyboards/winkeyless/bface/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/winkeyless/bmini/usbconfig.h b/keyboards/winkeyless/bmini/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/winkeyless/bmini/usbconfig.h +++ b/keyboards/winkeyless/bmini/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/winkeyless/bminiex/usbconfig.h b/keyboards/winkeyless/bminiex/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/winkeyless/bminiex/usbconfig.h +++ b/keyboards/winkeyless/bminiex/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/ymd75/usbconfig.h b/keyboards/ymd75/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/ymd75/usbconfig.h +++ b/keyboards/ymd75/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/ymd96/usbconfig.h b/keyboards/ymd96/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/ymd96/usbconfig.h +++ b/keyboards/ymd96/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/ymdk/bface/usbconfig.h b/keyboards/ymdk/bface/usbconfig.h index a3aa0f7c8..9ffec5280 100644 --- a/keyboards/ymdk/bface/usbconfig.h +++ b/keyboards/ymdk/bface/usbconfig.h | |||
| @@ -207,7 +207,7 @@ section at the end of this file). | |||
| 207 | 207 | ||
| 208 | /* -------------------------- Device Description --------------------------- */ | 208 | /* -------------------------- Device Description --------------------------- */ |
| 209 | 209 | ||
| 210 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 210 | #define USB_CFG_VENDOR_ID |
| 211 | /* USB vendor ID for the device, low byte first. If you have registered your | 211 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 212 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 213 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -216,7 +216,7 @@ section at the end of this file). | |||
| 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand | 216 | * with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand |
| 217 | * the implications! | 217 | * the implications! |
| 218 | */ | 218 | */ |
| 219 | #define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 219 | #define USB_CFG_DEVICE_ID |
| 220 | /* This is the ID of the product, low byte first. It is interpreted in the | 220 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 221 | * scope of the vendor ID. If you have registered your own VID with usb.org | 221 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 222 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -227,9 +227,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 231 | /* Version number of the device: Minor number first, then major number. | ||
| 232 | */ | ||
| 233 | #define USB_CFG_DEVICE_CLASS 0 | 230 | #define USB_CFG_DEVICE_CLASS 0 |
| 234 | #define USB_CFG_DEVICE_SUBCLASS 0 | 231 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 235 | /* See USB specification if you want to conform to an existing device class. | 232 | /* See USB specification if you want to conform to an existing device class. |
| @@ -308,18 +305,15 @@ section at the end of this file). | |||
| 308 | * }; | 305 | * }; |
| 309 | */ | 306 | */ |
| 310 | 307 | ||
| 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 308 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 320 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 322 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 323 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 317 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 324 | 318 | ||
| 325 | #define usbMsgPtr_t unsigned short | 319 | #define usbMsgPtr_t unsigned short |
diff --git a/keyboards/ymdk_np21/usbconfig.h b/keyboards/ymdk_np21/usbconfig.h index ad9c95c5d..fd5640a08 100644 --- a/keyboards/ymdk_np21/usbconfig.h +++ b/keyboards/ymdk_np21/usbconfig.h | |||
| @@ -208,7 +208,7 @@ section at the end of this file). | |||
| 208 | 208 | ||
| 209 | /* -------------------------- Device Description --------------------------- */ | 209 | /* -------------------------- Device Description --------------------------- */ |
| 210 | 210 | ||
| 211 | #define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF) | 211 | #define USB_CFG_VENDOR_ID |
| 212 | /* USB vendor ID for the device, low byte first. If you have registered your | 212 | /* USB vendor ID for the device, low byte first. If you have registered your |
| 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free | 213 | * own Vendor ID, define it here. Otherwise you may use one of obdev's free |
| 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! | 214 | * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules! |
| @@ -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_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_ID |
| 221 | /* This is the ID of the product, low byte first. It is interpreted in the | 221 | /* This is the ID of the product, low byte first. It is interpreted in the |
| 222 | * scope of the vendor ID. If you have registered your own VID with usb.org | 222 | * scope of the vendor ID. If you have registered your own VID with usb.org |
| 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise | 223 | * or if you have licensed a PID from somebody else, define it here. Otherwise |
| @@ -228,9 +228,6 @@ 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 (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | ||
| 232 | /* Version number of the device: Minor number first, then major number. | ||
| 233 | */ | ||
| 234 | #define USB_CFG_DEVICE_CLASS 0 | 231 | #define USB_CFG_DEVICE_CLASS 0 |
| 235 | #define USB_CFG_DEVICE_SUBCLASS 0 | 232 | #define USB_CFG_DEVICE_SUBCLASS 0 |
| 236 | /* See USB specification if you want to conform to an existing device class. | 233 | /* See USB specification if you want to conform to an existing device class. |
| @@ -309,18 +306,15 @@ section at the end of this file). | |||
| 309 | * }; | 306 | * }; |
| 310 | */ | 307 | */ |
| 311 | 308 | ||
| 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 309 | #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC |
| 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 310 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
| 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | ||
| 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
| 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
| 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
| 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC | 314 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
| 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC | 315 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
| 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 316 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
| 321 | //#define USB_CFG_DESCR_PROPS_HID 0 | ||
| 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 317 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
| 323 | //#define USB_CFG_DESCR_PROPS_HID_REPORT 0 | ||
| 324 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 318 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
| 325 | 319 | ||
| 326 | #define usbMsgPtr_t unsigned short | 320 | #define usbMsgPtr_t unsigned short |
