diff options
80 files changed, 352 insertions, 1504 deletions
diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h index 4bfe0867b..ffbe45605 100644 --- a/keyboards/ares/config.h +++ b/keyboards/ares/config.h | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER LSJ | 25 | #define MANUFACTURER LSJ |
26 | #define PRODUCT QMK Firmware for Ares | 26 | #define PRODUCT Ares |
27 | 27 | ||
28 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
29 | 29 | ||
diff --git a/keyboards/ares/usbconfig.h b/keyboards/ares/usbconfig.h index 7c85ff22c..ad9c95c5d 100644 --- a/keyboards/ares/usbconfig.h +++ b/keyboards/ares/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'L', 'S', 'J' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 3 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'A', 'r', 'e', 's' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h index 86faba21d..6c4710a9e 100644 --- a/keyboards/bfake/config.h +++ b/keyboards/bfake/config.h | |||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER NotActuallyWinkeyless | 25 | #define MANUFACTURER NotWinkeyless |
26 | #define PRODUCT b.fake | 26 | #define PRODUCT B.fake |
27 | 27 | ||
28 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
29 | 29 | ||
diff --git a/keyboards/bfake/usbconfig.h b/keyboards/bfake/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/bfake/usbconfig.h +++ b/keyboards/bfake/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/chidori/usbconfig.h b/keyboards/chidori/usbconfig.h index 48b72de93..ee040d16b 100644 --- a/keyboards/chidori/usbconfig.h +++ b/keyboards/chidori/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'K','a','g','i','z','a','r','a','y','a' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 10 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'C', 'h', 'i', 'd', 'o', 'r', 'i' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 7 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/coseyfannitutti/discipad/usbconfig.h b/keyboards/coseyfannitutti/discipad/usbconfig.h index 510658b44..ee040d16b 100644 --- a/keyboards/coseyfannitutti/discipad/usbconfig.h +++ b/keyboards/coseyfannitutti/discipad/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 15 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'D','I','S','C','I','P','A','D' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER '0' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 1 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/coseyfannitutti/discipline/usbconfig.h b/keyboards/coseyfannitutti/discipline/usbconfig.h index da3ed4607..ee040d16b 100644 --- a/keyboards/coseyfannitutti/discipline/usbconfig.h +++ b/keyboards/coseyfannitutti/discipline/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 15 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'D','I','S','C','I','P','L','I','N','E' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 10 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER '0' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 1 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/coseyfannitutti/mysterium/usbconfig.h b/keyboards/coseyfannitutti/mysterium/usbconfig.h index 809b91245..bec7cc295 100644 --- a/keyboards/coseyfannitutti/mysterium/usbconfig.h +++ b/keyboards/coseyfannitutti/mysterium/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 15 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'M','Y','S','T','E','R','I','U','M' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 9 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER '0' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 1 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/coseyfannitutti/romeo/usbconfig.h b/keyboards/coseyfannitutti/romeo/usbconfig.h index 36926d9a7..ee040d16b 100644 --- a/keyboards/coseyfannitutti/romeo/usbconfig.h +++ b/keyboards/coseyfannitutti/romeo/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 15 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'R','O','M','E','O' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER '0' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 1 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/db/db63/config.h b/keyboards/db/db63/config.h index 424784017..85625b720 100644 --- a/keyboards/db/db63/config.h +++ b/keyboards/db/db63/config.h | |||
@@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | #define VENDOR_ID 0xFAAD | 20 | #define VENDOR_ID 0xFAAD |
21 | #define PRODUCT_ID 0x422D | 21 | #define PRODUCT_ID 0x422D |
22 | #define DEVICE_VER 0x0200 | 22 | #define DEVICE_VER 0x0200 |
23 | // You can edit those at usbconfig.h about line 250. These values will | ||
24 | // unforunatly be ignored so far | ||
25 | #define MANUFACTURER HNB | 23 | #define MANUFACTURER HNB |
26 | #define PRODUCT DB63v1 Hotswap | 24 | #define PRODUCT DB63v1 Hotswap |
27 | 25 | ||
diff --git a/keyboards/db/db63/usbconfig.h b/keyboards/db/db63/usbconfig.h index 0dfe8b3ba..a3aa0f7c8 100644 --- a/keyboards/db/db63/usbconfig.h +++ b/keyboards/db/db63/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'H', 'N', 'B' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 3 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'D', 'B', '6', '3', 'H', 'S' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/donutcables/budget96/usbconfig.h b/keyboards/donutcables/budget96/usbconfig.h index 03ec48972..d0454d04c 100644 --- a/keyboards/donutcables/budget96/usbconfig.h +++ b/keyboards/donutcables/budget96/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'D', 'o', 'n', 'u', 't', 'C', 'a', 'b', 'l', 'e', 's' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 11 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'b', 'u', 'd', 'g', 'e', 't', '9', '6' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/eve/meteor/usbconfig.h b/keyboards/eve/meteor/usbconfig.h index 9b045607f..5fad0b3a5 100644 --- a/keyboards/eve/meteor/usbconfig.h +++ b/keyboards/eve/meteor/usbconfig.h | |||
@@ -220,31 +220,6 @@ section at the end of this file). | |||
220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
224 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
225 | /* These two values define the vendor name returned by the USB device. The name | ||
226 | * must be given as a list of characters under single quotes. The characters | ||
227 | * are interpreted as Unicode (UTF-16) entities. | ||
228 | * If you don't want a vendor name string, undefine these macros. | ||
229 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
230 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
231 | * details. | ||
232 | */ | ||
233 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
234 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
235 | /* Same as above for the device name. If you don't want a device name, undefine | ||
236 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
237 | * you use a shared VID/PID. | ||
238 | */ | ||
239 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
240 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
241 | /* Same as above for the serial number. If you don't want a serial number, | ||
242 | * undefine the macros. | ||
243 | * It may be useful to provide the serial number through other means than at | ||
244 | * compile time. See the section about descriptor properties below for how | ||
245 | * to fine tune control over USB descriptors such as the string descriptor | ||
246 | * for the serial number. | ||
247 | */ | ||
248 | #define USB_CFG_DEVICE_CLASS 0 | 223 | #define USB_CFG_DEVICE_CLASS 0 |
249 | #define USB_CFG_DEVICE_SUBCLASS 0 | 224 | #define USB_CFG_DEVICE_SUBCLASS 0 |
250 | /* See USB specification if you want to conform to an existing device class. | 225 | /* See USB specification if you want to conform to an existing device class. |
@@ -326,11 +301,11 @@ section at the end of this file). | |||
326 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
327 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
328 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
329 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
330 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
331 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
332 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
333 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
334 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
335 | //#define USB_CFG_DESCR_PROPS_HID 0 | 310 | //#define USB_CFG_DESCR_PROPS_HID 0 |
336 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/exclusive/e6v2/le_bmc/config.h b/keyboards/exclusive/e6v2/le_bmc/config.h index ca680f502..198e73265 100644 --- a/keyboards/exclusive/e6v2/le_bmc/config.h +++ b/keyboards/exclusive/e6v2/le_bmc/config.h | |||
@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | #define VENDOR_ID 0xFEED | 21 | #define VENDOR_ID 0xFEED |
22 | #define PRODUCT_ID 0x0000 | 22 | #define PRODUCT_ID 0x0000 |
23 | #define DEVICE_VER 0x0001 | 23 | #define DEVICE_VER 0x0001 |
24 | #define MANUFACTURER exclusive | 24 | #define MANUFACTURER Exclusive / E-Team |
25 | #define PRODUCT e6v2 le bmc | 25 | #define PRODUCT E6-V2 LE BMC |
26 | #define DESCRIPTION A custom 60% keyboard | 26 | #define DESCRIPTION A custom 60% keyboard |
27 | 27 | ||
28 | /* key matrix size */ | 28 | /* key matrix size */ |
diff --git a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h index 7a1471a06..a3aa0f7c8 100644 --- a/keyboards/exclusive/e6v2/le_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/le_bmc/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 9 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'E', '6', 'V', '2' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/config.h b/keyboards/exclusive/e6v2/oe_bmc/config.h index a6b56ba00..c26006b6a 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/config.h +++ b/keyboards/exclusive/e6v2/oe_bmc/config.h | |||
@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | #define VENDOR_ID 0xFEED | 21 | #define VENDOR_ID 0xFEED |
22 | #define PRODUCT_ID 0x0000 | 22 | #define PRODUCT_ID 0x0000 |
23 | #define DEVICE_VER 0x0001 | 23 | #define DEVICE_VER 0x0001 |
24 | #define MANUFACTURER exclusive | 24 | #define MANUFACTURER Exclusive / E-Team |
25 | #define PRODUCT e6v2 oe bmc | 25 | #define PRODUCT E6-V2 OE BMC |
26 | #define DESCRIPTION A custom 60% keyboard | 26 | #define DESCRIPTION A custom 60% keyboard |
27 | 27 | ||
28 | /* key matrix size */ | 28 | /* key matrix size */ |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h index 7a1471a06..a3aa0f7c8 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h +++ b/keyboards/exclusive/e6v2/oe_bmc/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 9 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'E', '6', 'V', '2' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/exent/usbconfig.h b/keyboards/exent/usbconfig.h index 83ad06544..4acb6b281 100644 --- a/keyboards/exent/usbconfig.h +++ b/keyboards/exent/usbconfig.h | |||
@@ -220,31 +220,6 @@ section at the end of this file). | |||
220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
224 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
225 | /* These two values define the vendor name returned by the USB device. The name | ||
226 | * must be given as a list of characters under single quotes. The characters | ||
227 | * are interpreted as Unicode (UTF-16) entities. | ||
228 | * If you don't want a vendor name string, undefine these macros. | ||
229 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
230 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
231 | * details. | ||
232 | */ | ||
233 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
234 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
235 | /* Same as above for the device name. If you don't want a device name, undefine | ||
236 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
237 | * you use a shared VID/PID. | ||
238 | */ | ||
239 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
240 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
241 | /* Same as above for the serial number. If you don't want a serial number, | ||
242 | * undefine the macros. | ||
243 | * It may be useful to provide the serial number through other means than at | ||
244 | * compile time. See the section about descriptor properties below for how | ||
245 | * to fine tune control over USB descriptors such as the string descriptor | ||
246 | * for the serial number. | ||
247 | */ | ||
248 | #define USB_CFG_DEVICE_CLASS 0 | 223 | #define USB_CFG_DEVICE_CLASS 0 |
249 | #define USB_CFG_DEVICE_SUBCLASS 0 | 224 | #define USB_CFG_DEVICE_SUBCLASS 0 |
250 | /* See USB specification if you want to conform to an existing device class. | 225 | /* See USB specification if you want to conform to an existing device class. |
@@ -326,11 +301,11 @@ section at the end of this file). | |||
326 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
327 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
328 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
329 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
330 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
331 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
332 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
333 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
334 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
335 | //#define USB_CFG_DESCR_PROPS_HID 0 | 310 | //#define USB_CFG_DESCR_PROPS_HID 0 |
336 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/facew/config.h b/keyboards/facew/config.h index be442548d..ab9130b80 100644 --- a/keyboards/facew/config.h +++ b/keyboards/facew/config.h | |||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER NotActuallyWinkeyless | 25 | #define MANUFACTURER SPRiT |
26 | #define PRODUCT facew | 26 | #define PRODUCT FaceW |
27 | 27 | ||
28 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
29 | 29 | ||
diff --git a/keyboards/facew/usbconfig.h b/keyboards/facew/usbconfig.h index 47755fa8c..a3aa0f7c8 100644 --- a/keyboards/facew/usbconfig.h +++ b/keyboards/facew/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'S', 'p', 'r', 'i', 't' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 5 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'F', 'a', 'c', 'e', 'W' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/ft/mars80/usbconfig.h b/keyboards/ft/mars80/usbconfig.h index 4430d9e67..a3aa0f7c8 100644 --- a/keyboards/ft/mars80/usbconfig.h +++ b/keyboards/ft/mars80/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'f', 't' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 2 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'm', 'a', 'r', 's', '8', '0' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/gingham/usbconfig.h b/keyboards/gingham/usbconfig.h index 3c7aa0da0..ee040d16b 100644 --- a/keyboards/gingham/usbconfig.h +++ b/keyboards/gingham/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'Y','i','a','n','c','a','r','-','D','e', 's', 'i', 'g', 'n', 's' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 15 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'G', 'i', 'n', 'g', 'h', 'a', 'm' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 7 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER '0' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 1 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/gray_studio/hb85/usbconfig.h b/keyboards/gray_studio/hb85/usbconfig.h index 186e2dca3..a3aa0f7c8 100644 --- a/keyboards/gray_studio/hb85/usbconfig.h +++ b/keyboards/gray_studio/hb85/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'G', 'r', 'a', 'y', ' ', 'S', 't', 'u', 'd', 'i', 'o' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 11 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'H', 'B', '8', '5' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/handwired/hnah40/config.h b/keyboards/handwired/hnah40/config.h index 3d3c05fd4..9583c4c38 100644 --- a/keyboards/handwired/hnah40/config.h +++ b/keyboards/handwired/hnah40/config.h | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define PRODUCT_ID 0x0000 | 23 | #define PRODUCT_ID 0x0000 |
24 | #define DEVICE_VER 0x0002 | 24 | #define DEVICE_VER 0x0002 |
25 | #define MANUFACTURER HnahKB | 25 | #define MANUFACTURER HnahKB |
26 | #define PRODUCT hnah40 | 26 | #define PRODUCT Hnah40 |
27 | #define DESCRIPTION Custom 40% PCB | 27 | #define DESCRIPTION Custom 40% PCB |
28 | 28 | ||
29 | /* key matrix size */ | 29 | /* key matrix size */ |
diff --git a/keyboards/handwired/hnah40/usbconfig.h b/keyboards/handwired/hnah40/usbconfig.h index b26a3c7d6..ee040d16b 100644 --- a/keyboards/handwired/hnah40/usbconfig.h +++ b/keyboards/handwired/hnah40/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'H','n','a','h','K','B' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 6 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'H', 'n', 'a', 'h', '4', '0' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER 'H','n','a','h','K','B' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 6 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/j80/usbconfig.h b/keyboards/j80/usbconfig.h index 0c377f4b7..4acb6b281 100644 --- a/keyboards/j80/usbconfig.h +++ b/keyboards/j80/usbconfig.h | |||
@@ -220,31 +220,6 @@ section at the end of this file). | |||
220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 220 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
221 | /* Version number of the device: Minor number first, then major number. | 221 | /* Version number of the device: Minor number first, then major number. |
222 | */ | 222 | */ |
223 | #define USB_CFG_VENDOR_NAME 'J', 'E', 'R' | ||
224 | #define USB_CFG_VENDOR_NAME_LEN 3 | ||
225 | /* These two values define the vendor name returned by the USB device. The name | ||
226 | * must be given as a list of characters under single quotes. The characters | ||
227 | * are interpreted as Unicode (UTF-16) entities. | ||
228 | * If you don't want a vendor name string, undefine these macros. | ||
229 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
230 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
231 | * details. | ||
232 | */ | ||
233 | #define USB_CFG_DEVICE_NAME 'J', '8', '0' | ||
234 | #define USB_CFG_DEVICE_NAME_LEN 3 | ||
235 | /* Same as above for the device name. If you don't want a device name, undefine | ||
236 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
237 | * you use a shared VID/PID. | ||
238 | */ | ||
239 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
240 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
241 | /* Same as above for the serial number. If you don't want a serial number, | ||
242 | * undefine the macros. | ||
243 | * It may be useful to provide the serial number through other means than at | ||
244 | * compile time. See the section about descriptor properties below for how | ||
245 | * to fine tune control over USB descriptors such as the string descriptor | ||
246 | * for the serial number. | ||
247 | */ | ||
248 | #define USB_CFG_DEVICE_CLASS 0 | 223 | #define USB_CFG_DEVICE_CLASS 0 |
249 | #define USB_CFG_DEVICE_SUBCLASS 0 | 224 | #define USB_CFG_DEVICE_SUBCLASS 0 |
250 | /* See USB specification if you want to conform to an existing device class. | 225 | /* See USB specification if you want to conform to an existing device class. |
@@ -326,11 +301,11 @@ section at the end of this file). | |||
326 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 301 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
327 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 302 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
328 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 303 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
329 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 304 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
330 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 305 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
331 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 306 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
332 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 307 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
333 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 308 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
334 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 309 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
335 | //#define USB_CFG_DESCR_PROPS_HID 0 | 310 | //#define USB_CFG_DESCR_PROPS_HID 0 |
336 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 311 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index 11f39a5e0..6cf71ab3a 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h | |||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x1234 | 22 | #define VENDOR_ID 0x1234 |
23 | #define PRODUCT_ID 0x5679 | 23 | #define PRODUCT_ID 0x5679 |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER winkeyless.kr | 25 | #define MANUFACTURER RAMA |
26 | #define PRODUCT JC65 PS2AVRGB | 26 | #define PRODUCT JC65 BMC |
27 | 27 | ||
28 | /* matrix size */ | 28 | /* matrix size */ |
29 | #define MATRIX_ROWS 7 | 29 | #define MATRIX_ROWS 7 |
diff --git a/keyboards/jc65/v32a/usbconfig.h b/keyboards/jc65/v32a/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/jc65/v32a/usbconfig.h +++ b/keyboards/jc65/v32a/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/jj40/config.h b/keyboards/jj40/config.h index 3138023bb..9a1eadb78 100644 --- a/keyboards/jj40/config.h +++ b/keyboards/jj40/config.h | |||
@@ -19,10 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | #define VENDOR_ID 0x20A0 | 19 | #define VENDOR_ID 0x20A0 |
20 | #define PRODUCT_ID 0x422D | 20 | #define PRODUCT_ID 0x422D |
21 | #define DEVICE_VER 0x0200 | 21 | #define DEVICE_VER 0x0200 |
22 | // TODO: share these strings with usbconfig.h | 22 | #define MANUFACTURER KPrepublic |
23 | // Edit usbconfig.h to change these. | 23 | #define PRODUCT JJ40 |
24 | #define MANUFACTURER Kprepublic | ||
25 | #define PRODUCT jj40 | ||
26 | 24 | ||
27 | /* matrix size */ | 25 | /* matrix size */ |
28 | #define MATRIX_ROWS 4 | 26 | #define MATRIX_ROWS 4 |
diff --git a/keyboards/jj40/usbconfig.h b/keyboards/jj40/usbconfig.h index 4599c03dc..ad9c95c5d 100644 --- a/keyboards/jj40/usbconfig.h +++ b/keyboards/jj40/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'j', 'j', '4', '0' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/jj4x4/config.h b/keyboards/jj4x4/config.h index d8ccef3ad..8c5b1988d 100644 --- a/keyboards/jj4x4/config.h +++ b/keyboards/jj4x4/config.h | |||
@@ -22,10 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | // TODO: share these strings with usbconfig.h | 25 | #define MANUFACTURER KPrepublic |
26 | // Edit usbconfig.h to change these. | 26 | #define PRODUCT JJ4x4 |
27 | #define MANUFACTURER Kprepublic | ||
28 | #define PRODUCT jj4x4 | ||
29 | 27 | ||
30 | /* matrix size */ | 28 | /* matrix size */ |
31 | #define MATRIX_ROWS 4 | 29 | #define MATRIX_ROWS 4 |
diff --git a/keyboards/jj4x4/usbconfig.h b/keyboards/jj4x4/usbconfig.h index 96bf2eda8..ad9c95c5d 100644 --- a/keyboards/jj4x4/usbconfig.h +++ b/keyboards/jj4x4/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'j', 'j', '4', 'x', '4' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/jj50/config.h b/keyboards/jj50/config.h index 2f0e98d53..8453f5588 100644 --- a/keyboards/jj50/config.h +++ b/keyboards/jj50/config.h | |||
@@ -25,10 +25,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
25 | #define VENDOR_ID 0x20A0 | 25 | #define VENDOR_ID 0x20A0 |
26 | #define PRODUCT_ID 0x422D | 26 | #define PRODUCT_ID 0x422D |
27 | #define DEVICE_VER 0x0200 | 27 | #define DEVICE_VER 0x0200 |
28 | // TODO: share these strings with usbconfig.h | 28 | #define MANUFACTURER KPrepublic |
29 | // Edit usbconfig.h to change these. | 29 | #define PRODUCT JJ50 |
30 | #define MANUFACTURER kprepublic | ||
31 | #define PRODUCT jj50 | ||
32 | #define DESCRIPTION Preonic-like clone | 30 | #define DESCRIPTION Preonic-like clone |
33 | 31 | ||
34 | /* matrix size */ | 32 | /* matrix size */ |
diff --git a/keyboards/jj50/usbconfig.h b/keyboards/jj50/usbconfig.h index b05fc975e..ad9c95c5d 100644 --- a/keyboards/jj50/usbconfig.h +++ b/keyboards/jj50/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'K', 'P', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 10 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'J','J','5','0',' ','K','e','y','b','o','a','r','d' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 13 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/kbdfans/kbdpad/mk1/config.h b/keyboards/kbdfans/kbdpad/mk1/config.h index d41ec6001..1646a1af1 100644 --- a/keyboards/kbdfans/kbdpad/mk1/config.h +++ b/keyboards/kbdfans/kbdpad/mk1/config.h | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER KBDfans | 25 | #define MANUFACTURER KBDfans |
26 | #define PRODUCT KBDPAD-MKI | 26 | #define PRODUCT KBDPAD Mk. I |
27 | 27 | ||
28 | #define MATRIX_ROWS 6 | 28 | #define MATRIX_ROWS 6 |
29 | #define MATRIX_COLS 4 | 29 | #define MATRIX_COLS 4 |
diff --git a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/kbdfans/kbdpad/mk1/usbconfig.h +++ b/keyboards/kbdfans/kbdpad/mk1/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/keycapsss/plaid_pad/usbconfig.h b/keyboards/keycapsss/plaid_pad/usbconfig.h index e208e99f2..0cacbd724 100644 --- a/keyboards/keycapsss/plaid_pad/usbconfig.h +++ b/keyboards/keycapsss/plaid_pad/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'K','e','y','c','a','p','s','s','s' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 9 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'P', 'l', 'a', 'i', 'd', '-', 'P', 'a', 'd' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 9 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/kira80/usbconfig.h b/keyboards/kira80/usbconfig.h index 33030c831..ad9c95c5d 100644 --- a/keyboards/kira80/usbconfig.h +++ b/keyboards/kira80/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'E', 'V', 'E' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 3 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'K', 'i', 'r', 'a', '8', '0' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/leeku/finger65/config.h b/keyboards/leeku/finger65/config.h index 584db4ad3..dcf1aad65 100644 --- a/keyboards/leeku/finger65/config.h +++ b/keyboards/leeku/finger65/config.h | |||
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | #define PRODUCT_ID 0x6050 | 24 | #define PRODUCT_ID 0x6050 |
25 | #define DEVICE_VER 0x0100 | 25 | #define DEVICE_VER 0x0100 |
26 | #define MANUFACTURER LeeKu | 26 | #define MANUFACTURER LeeKu |
27 | #define PRODUCT L3 | 27 | #define PRODUCT Finger65 |
28 | #define DESCRIPTION QMK keyboard firmware for L3 | 28 | #define DESCRIPTION QMK keyboard firmware for L3 |
29 | 29 | ||
30 | #define RGBLED_NUM 12 | 30 | #define RGBLED_NUM 12 |
diff --git a/keyboards/leeku/finger65/usbconfig.h b/keyboards/leeku/finger65/usbconfig.h index 48be89046..12e49e0ee 100644 --- a/keyboards/leeku/finger65/usbconfig.h +++ b/keyboards/leeku/finger65/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'L', 'e', 'e', 'k', 'u' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 5 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'F', 'i', 'n', 'g', 'e', 'r', '6', '5' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -335,11 +310,11 @@ section at the end of this file). | |||
335 | 310 | ||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 313 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
339 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 314 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 318 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 | 320 | #define USB_CFG_DESCR_PROPS_UNKNOWN 0 |
diff --git a/keyboards/mechmini/v1/config.h b/keyboards/mechmini/v1/config.h index 80a79bf86..0df0066f1 100644 --- a/keyboards/mechmini/v1/config.h +++ b/keyboards/mechmini/v1/config.h | |||
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0xFEED | 22 | #define VENDOR_ID 0xFEED |
23 | #define PRODUCT_ID 0xCA40 | 23 | #define PRODUCT_ID 0xCA40 |
24 | #define DEVICE_VER 0x0001 | 24 | #define DEVICE_VER 0x0001 |
25 | // TODO: share these strings with usbconfig.h | ||
26 | // Edit usbconfig.h to change these. | ||
27 | #define MANUFACTURER MECHKEYS | 25 | #define MANUFACTURER MECHKEYS |
28 | #define PRODUCT Mechmini | 26 | #define PRODUCT Mechmini |
29 | #define DESCRIPTION 40% modular keyboard | 27 | #define DESCRIPTION 40% modular keyboard |
diff --git a/keyboards/mechmini/v1/usbconfig.h b/keyboards/mechmini/v1/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/mechmini/v1/usbconfig.h +++ b/keyboards/mechmini/v1/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h index afc9d0a7b..dc8c593ad 100644 --- a/keyboards/mehkee96/config.h +++ b/keyboards/mehkee96/config.h | |||
@@ -6,8 +6,8 @@ | |||
6 | #define VENDOR_ID 0x20A0 | 6 | #define VENDOR_ID 0x20A0 |
7 | #define PRODUCT_ID 0x422D | 7 | #define PRODUCT_ID 0x422D |
8 | #define DEVICE_VER 0x0200 | 8 | #define DEVICE_VER 0x0200 |
9 | #define MANUFACTURER mehkee | 9 | #define MANUFACTURER Mehkee |
10 | #define PRODUCT 96kee | 10 | #define PRODUCT 96KEE |
11 | 11 | ||
12 | /* matrix size */ | 12 | /* matrix size */ |
13 | #define MATRIX_ROWS 8 | 13 | #define MATRIX_ROWS 8 |
diff --git a/keyboards/mehkee96/usbconfig.h b/keyboards/mehkee96/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/mehkee96/usbconfig.h +++ b/keyboards/mehkee96/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/mt40/config.h b/keyboards/mt40/config.h index 5e3eaf935..3efa18292 100644 --- a/keyboards/mt40/config.h +++ b/keyboards/mt40/config.h | |||
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
27 | #define DEVICE_VER 0x0001 | 27 | #define DEVICE_VER 0x0001 |
28 | 28 | ||
29 | #define MANUFACTURER ThomasDehaeze | 29 | #define MANUFACTURER ThomasDehaeze |
30 | #define PRODUCT mt40 | 30 | #define PRODUCT MT40 |
31 | 31 | ||
32 | #define DESCRIPTION A Planck clone | 32 | #define DESCRIPTION A Planck clone |
33 | 33 | ||
diff --git a/keyboards/mt40/usbconfig.h b/keyboards/mt40/usbconfig.h index e1f5f2ea4..ad9c95c5d 100644 --- a/keyboards/mt40/usbconfig.h +++ b/keyboards/mt40/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'T', 'h', 'o', 'm', 'a', 's', 'D', 'e', 'h', 'a', 'e', 'z', 'e' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'c', 'u', 's', 't', 'o', 'm', '4', '8' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/panc60/config.h b/keyboards/panc60/config.h index b3bcdc973..002ff7cf9 100644 --- a/keyboards/panc60/config.h +++ b/keyboards/panc60/config.h | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER Panc Interactive | 25 | #define MANUFACTURER Panc Interactive |
26 | #define PRODUCT panc60 | 26 | #define PRODUCT Panc60 |
27 | 27 | ||
28 | #define RGBLED_NUM 12 | 28 | #define RGBLED_NUM 12 |
29 | 29 | ||
diff --git a/keyboards/panc60/usbconfig.h b/keyboards/panc60/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/panc60/usbconfig.h +++ b/keyboards/panc60/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/pearl/usbconfig.h b/keyboards/pearl/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/pearl/usbconfig.h +++ b/keyboards/pearl/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index b6cc5df23..c6720ea16 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | 25 | #define DEVICE_VER 0x0200 |
26 | #define MANUFACTURER NotActuallyPercent | 26 | #define MANUFACTURER Percent Studios |
27 | #define PRODUCT CANOE | 27 | #define PRODUCT CANOE |
28 | 28 | ||
29 | #define RGBLED_NUM 2 | 29 | #define RGBLED_NUM 2 |
diff --git a/keyboards/percent/canoe/usbconfig.h b/keyboards/percent/canoe/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/percent/canoe/usbconfig.h +++ b/keyboards/percent/canoe/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index cbfb2b6a5..099de6da2 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h | |||
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | #define PRODUCT_ID 0x422D | 21 | #define PRODUCT_ID 0x422D |
22 | #define DEVICE_VER 0x0200 | 22 | #define DEVICE_VER 0x0200 |
23 | 23 | ||
24 | #define MANUFACTURER Percent | 24 | #define MANUFACTURER Percent Studios |
25 | #define PRODUCT Skog TKL | 25 | #define PRODUCT Skog TKL |
26 | 26 | ||
27 | /* matrix size */ | 27 | /* matrix size */ |
diff --git a/keyboards/percent/skog/usbconfig.h b/keyboards/percent/skog/usbconfig.h index 3a0628658..ad9c95c5d 100644 --- a/keyboards/percent/skog/usbconfig.h +++ b/keyboards/percent/skog/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'P','e','r','c','e','n','t' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 7 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'S','k','o','g',' ','T','K','L' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index a3d4a225f..625effca8 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h | |||
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER Percent | 25 | #define MANUFACTURER Percent Studios |
26 | #define PRODUCT Skog Lite | 26 | #define PRODUCT Skog Lite |
27 | 27 | ||
28 | #define RGBLED_NUM 18 | 28 | #define RGBLED_NUM 18 |
diff --git a/keyboards/percent/skog_lite/usbconfig.h b/keyboards/percent/skog_lite/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/percent/skog_lite/usbconfig.h +++ b/keyboards/percent/skog_lite/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/plaid/config.h b/keyboards/plaid/config.h index 8005df2ce..4d7bedee5 100644 --- a/keyboards/plaid/config.h +++ b/keyboards/plaid/config.h | |||
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
25 | #define PRODUCT_ID 0x27db | 25 | #define PRODUCT_ID 0x27db |
26 | #define DEVICE_VER 0x0002 | 26 | #define DEVICE_VER 0x0002 |
27 | #define MANUFACTURER dm9records | 27 | #define MANUFACTURER dm9records |
28 | #define PRODUCT plaid | 28 | #define PRODUCT Plaid |
29 | #define DESCRIPTION 12x4 ortholinear keyboard with through hole components | 29 | #define DESCRIPTION 12x4 ortholinear keyboard with through hole components |
30 | 30 | ||
31 | /* key matrix size */ | 31 | /* key matrix size */ |
diff --git a/keyboards/plaid/usbconfig.h b/keyboards/plaid/usbconfig.h index ba48a3264..ee040d16b 100644 --- a/keyboards/plaid/usbconfig.h +++ b/keyboards/plaid/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 10 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'P', 'l', 'a', 'i', 'd' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | #define USB_CFG_SERIAL_NUMBER 'd','m','9','r','e','c','o','r','d','s','.','c','o','m',':','p','1' | ||
251 | #define USB_CFG_SERIAL_NUMBER_LEN 17 | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/singa/usbconfig.h b/keyboards/singa/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/singa/usbconfig.h +++ b/keyboards/singa/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/tartan/usbconfig.h b/keyboards/tartan/usbconfig.h index df896cfa9..0cacbd724 100644 --- a/keyboards/tartan/usbconfig.h +++ b/keyboards/tartan/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 10 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'T', 'a', 'r', 't', 'a', 'n' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | #define USB_CFG_SERIAL_NUMBER 'd','m','9','r','e','c','o','r','d','s','.','c','o','m',':','t','1' | ||
250 | #define USB_CFG_SERIAL_NUMBER_LEN 17 | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/tgr/alice/config.h b/keyboards/tgr/alice/config.h index cf1f107a3..20f4c5970 100644 --- a/keyboards/tgr/alice/config.h +++ b/keyboards/tgr/alice/config.h | |||
@@ -20,10 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | #define VENDOR_ID 0x20A0 | 20 | #define VENDOR_ID 0x20A0 |
21 | #define PRODUCT_ID 0x422E | 21 | #define PRODUCT_ID 0x422E |
22 | #define DEVICE_VER 0x0200 | 22 | #define DEVICE_VER 0x0200 |
23 | // TODO: share these strings with usbconfig.h | ||
24 | // Edit usbconfig.h to change these. | ||
25 | #define MANUFACTURER TGR | 23 | #define MANUFACTURER TGR |
26 | #define PRODUCT TGR Alice | 24 | #define PRODUCT Alice |
27 | 25 | ||
28 | /* matrix size */ | 26 | /* matrix size */ |
29 | #define MATRIX_ROWS 6 | 27 | #define MATRIX_ROWS 6 |
diff --git a/keyboards/tgr/alice/usbconfig.h b/keyboards/tgr/alice/usbconfig.h index d2955d062..ad9c95c5d 100644 --- a/keyboards/tgr/alice/usbconfig.h +++ b/keyboards/tgr/alice/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'T', 'G', 'R' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 3 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'T', 'G', 'R', ' ', 'A', 'l', 'i', 'c', 'e' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 9 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/tgr/jane/usbconfig.h b/keyboards/tgr/jane/usbconfig.h index e65d210ac..a3aa0f7c8 100644 --- a/keyboards/tgr/jane/usbconfig.h +++ b/keyboards/tgr/jane/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h index e6bdbe7f2..c5c9b0466 100644 --- a/keyboards/unikorn/config.h +++ b/keyboards/unikorn/config.h | |||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER Singa and TGR | 25 | #define MANUFACTURER Singa x TGR |
26 | #define PRODUCT Unikorn 60 | 26 | #define PRODUCT Unikorn60 |
27 | 27 | ||
28 | #define MATRIX_ROWS 5 | 28 | #define MATRIX_ROWS 5 |
29 | #define MATRIX_COLS 15 | 29 | #define MATRIX_COLS 15 |
diff --git a/keyboards/unikorn/usbconfig.h b/keyboards/unikorn/usbconfig.h index 3dcd1ccde..a3aa0f7c8 100644 --- a/keyboards/unikorn/usbconfig.h +++ b/keyboards/unikorn/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 's', 'i', 'n', 'g', 'a', 't', 'g', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 8 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'u', 'n', 'i', 'k', 'o', 'r', 'n' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 7 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index 68ecaafc1..0ef8a42b6 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h | |||
@@ -21,10 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | #define VENDOR_ID 0x20A0 | 21 | #define VENDOR_ID 0x20A0 |
22 | #define PRODUCT_ID 0x422D | 22 | #define PRODUCT_ID 0x422D |
23 | #define DEVICE_VER 0x0200 | 23 | #define DEVICE_VER 0x0200 |
24 | // You can edit those at usbconfig.h about line 250. These values will | 24 | #define MANUFACTURER Winkeyless |
25 | // unforunatly be ignored so far | 25 | #define PRODUCT B.face |
26 | #define MANUFACTURER winkeyless.kr | ||
27 | #define PRODUCT b.face | ||
28 | 26 | ||
29 | /* matrix size */ | 27 | /* matrix size */ |
30 | #define MATRIX_ROWS 8 | 28 | #define MATRIX_ROWS 8 |
diff --git a/keyboards/winkeyless/bface/usbconfig.h b/keyboards/winkeyless/bface/usbconfig.h index 5ff26399b..a3aa0f7c8 100644 --- a/keyboards/winkeyless/bface/usbconfig.h +++ b/keyboards/winkeyless/bface/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'b', '.', 'f', 'a', 'c', 'e' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 6 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 6d46cdecb..ccce0b6c8 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h | |||
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER winkeyless.kr | 25 | #define MANUFACTURER Winkeyless |
26 | #define PRODUCT B.mini | 26 | #define PRODUCT B.mini |
27 | 27 | ||
28 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
diff --git a/keyboards/winkeyless/bmini/usbconfig.h b/keyboards/winkeyless/bmini/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/winkeyless/bmini/usbconfig.h +++ b/keyboards/winkeyless/bmini/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index 2da785214..6e35c9e82 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h | |||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422E | 23 | #define PRODUCT_ID 0x422E |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | #define MANUFACTURER winkeyless.kr | 25 | #define MANUFACTURER Winkeyless |
26 | #define PRODUCT B.mini Ex | 26 | #define PRODUCT B.mini EX |
27 | 27 | ||
28 | #define RGBLED_NUM 20 | 28 | #define RGBLED_NUM 20 |
29 | 29 | ||
diff --git a/keyboards/winkeyless/bminiex/usbconfig.h b/keyboards/winkeyless/bminiex/usbconfig.h index 85a915bb4..ad9c95c5d 100644 --- a/keyboards/winkeyless/bminiex/usbconfig.h +++ b/keyboards/winkeyless/bminiex/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 8 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/ymd75/config.h b/keyboards/ymd75/config.h index ef7171cae..8aa2bba41 100644 --- a/keyboards/ymd75/config.h +++ b/keyboards/ymd75/config.h | |||
@@ -24,11 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | #define VENDOR_ID 0x20A0 | 24 | #define VENDOR_ID 0x20A0 |
25 | #define PRODUCT_ID 0x422D | 25 | #define PRODUCT_ID 0x422D |
26 | #define DEVICE_VER 0x0200 | 26 | #define DEVICE_VER 0x0200 |
27 | |||
28 | // TODO: share these strings with usbconfig.h | ||
29 | // Edit usbconfig.h to change these. | ||
30 | #define MANUFACTURER YMDK | 27 | #define MANUFACTURER YMDK |
31 | #define PRODUCT ymd75 / mt84 | 28 | #define PRODUCT YMD75 / MT84 |
32 | #define DESCRIPTION 75% Keyboard | 29 | #define DESCRIPTION 75% Keyboard |
33 | 30 | ||
34 | /* matrix size */ | 31 | /* matrix size */ |
diff --git a/keyboards/ymd75/usbconfig.h b/keyboards/ymd75/usbconfig.h index 0e570b9ec..ad9c95c5d 100644 --- a/keyboards/ymd75/usbconfig.h +++ b/keyboards/ymd75/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 4 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'Y','M','D','7','5',' ','K','e','y','b','o','a','r','d' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 14 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/ymd96/config.h b/keyboards/ymd96/config.h index ebb60242b..6f50c7324 100644 --- a/keyboards/ymd96/config.h +++ b/keyboards/ymd96/config.h | |||
@@ -23,9 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #define VENDOR_ID 0x20A0 | 23 | #define VENDOR_ID 0x20A0 |
24 | #define PRODUCT_ID 0x422D | 24 | #define PRODUCT_ID 0x422D |
25 | #define DEVICE_VER 0x0200 | 25 | #define DEVICE_VER 0x0200 |
26 | // Edit usbconfig.h to change these. | 26 | #define MANUFACTURER YMDK |
27 | #define MANUFACTURER ymdkey | 27 | #define PRODUCT YMD96 |
28 | #define PRODUCT ymd96 | ||
29 | 28 | ||
30 | /* matrix size */ | 29 | /* matrix size */ |
31 | #define MATRIX_ROWS 8 | 30 | #define MATRIX_ROWS 8 |
diff --git a/keyboards/ymd96/usbconfig.h b/keyboards/ymd96/usbconfig.h index 83613384d..ad9c95c5d 100644 --- a/keyboards/ymd96/usbconfig.h +++ b/keyboards/ymd96/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'y','m','d','k','e','y' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 6 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'y','m','d','9','6' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/ymdk/bface/config.h b/keyboards/ymdk/bface/config.h index 0c12c328e..dfcfbcaa1 100644 --- a/keyboards/ymdk/bface/config.h +++ b/keyboards/ymdk/bface/config.h | |||
@@ -20,10 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | #define VENDOR_ID 0x20A0 | 20 | #define VENDOR_ID 0x20A0 |
21 | #define PRODUCT_ID 0x422D | 21 | #define PRODUCT_ID 0x422D |
22 | #define DEVICE_VER 0x0200 | 22 | #define DEVICE_VER 0x0200 |
23 | // You can edit those at usbconfig.h about line 250. These values will | ||
24 | // unforunatly be ignored so far | ||
25 | #define MANUFACTURER YMDK | 23 | #define MANUFACTURER YMDK |
26 | #define PRODUCT bface | 24 | #define PRODUCT B.face |
27 | 25 | ||
28 | /* matrix size */ | 26 | /* matrix size */ |
29 | #define MATRIX_ROWS 5 | 27 | #define MATRIX_ROWS 5 |
diff --git a/keyboards/ymdk/bface/usbconfig.h b/keyboards/ymdk/bface/usbconfig.h index 7768c5cae..a3aa0f7c8 100644 --- a/keyboards/ymdk/bface/usbconfig.h +++ b/keyboards/ymdk/bface/usbconfig.h | |||
@@ -230,31 +230,6 @@ section at the end of this file). | |||
230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 230 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
231 | /* Version number of the device: Minor number first, then major number. | 231 | /* Version number of the device: Minor number first, then major number. |
232 | */ | 232 | */ |
233 | #define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K' | ||
234 | #define USB_CFG_VENDOR_NAME_LEN 4 | ||
235 | /* These two values define the vendor name returned by the USB device. The name | ||
236 | * must be given as a list of characters under single quotes. The characters | ||
237 | * are interpreted as Unicode (UTF-16) entities. | ||
238 | * If you don't want a vendor name string, undefine these macros. | ||
239 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
240 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
241 | * details. | ||
242 | */ | ||
243 | #define USB_CFG_DEVICE_NAME 'b', 'f', 'a', 'c', 'e' | ||
244 | #define USB_CFG_DEVICE_NAME_LEN 5 | ||
245 | /* Same as above for the device name. If you don't want a device name, undefine | ||
246 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
247 | * you use a shared VID/PID. | ||
248 | */ | ||
249 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
251 | /* Same as above for the serial number. If you don't want a serial number, | ||
252 | * undefine the macros. | ||
253 | * It may be useful to provide the serial number through other means than at | ||
254 | * compile time. See the section about descriptor properties below for how | ||
255 | * to fine tune control over USB descriptors such as the string descriptor | ||
256 | * for the serial number. | ||
257 | */ | ||
258 | #define USB_CFG_DEVICE_CLASS 0 | 233 | #define USB_CFG_DEVICE_CLASS 0 |
259 | #define USB_CFG_DEVICE_SUBCLASS 0 | 234 | #define USB_CFG_DEVICE_SUBCLASS 0 |
260 | /* See USB specification if you want to conform to an existing device class. | 235 | /* See USB specification if you want to conform to an existing device class. |
@@ -336,11 +311,11 @@ section at the end of this file). | |||
336 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 311 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
337 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 312 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
338 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 313 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
339 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 314 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
340 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 315 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 319 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
345 | //#define USB_CFG_DESCR_PROPS_HID 0 | 320 | //#define USB_CFG_DESCR_PROPS_HID 0 |
346 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 321 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/keyboards/ymdk_np21/config.h b/keyboards/ymdk_np21/config.h index 291e6a896..379663431 100644 --- a/keyboards/ymdk_np21/config.h +++ b/keyboards/ymdk_np21/config.h | |||
@@ -22,10 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
25 | // TODO: share these strings with usbconfig.h | 25 | #define MANUFACTURER YMDK |
26 | // Edit usbconfig.h to change these. | 26 | #define PRODUCT NP21 |
27 | #define MANUFACTURER ymdk | ||
28 | #define PRODUCT np21 | ||
29 | 27 | ||
30 | /* matrix size */ | 28 | /* matrix size */ |
31 | #define MATRIX_ROWS 4 | 29 | #define MATRIX_ROWS 4 |
diff --git a/keyboards/ymdk_np21/usbconfig.h b/keyboards/ymdk_np21/usbconfig.h index 4599c03dc..ad9c95c5d 100644 --- a/keyboards/ymdk_np21/usbconfig.h +++ b/keyboards/ymdk_np21/usbconfig.h | |||
@@ -231,31 +231,6 @@ section at the end of this file). | |||
231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) | 231 | #define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF) |
232 | /* Version number of the device: Minor number first, then major number. | 232 | /* Version number of the device: Minor number first, then major number. |
233 | */ | 233 | */ |
234 | #define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r' | ||
235 | #define USB_CFG_VENDOR_NAME_LEN 13 | ||
236 | /* These two values define the vendor name returned by the USB device. The name | ||
237 | * must be given as a list of characters under single quotes. The characters | ||
238 | * are interpreted as Unicode (UTF-16) entities. | ||
239 | * If you don't want a vendor name string, undefine these macros. | ||
240 | * ALWAYS define a vendor name containing your Internet domain name if you use | ||
241 | * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for | ||
242 | * details. | ||
243 | */ | ||
244 | #define USB_CFG_DEVICE_NAME 'j', 'j', '4', '0' | ||
245 | #define USB_CFG_DEVICE_NAME_LEN 4 | ||
246 | /* Same as above for the device name. If you don't want a device name, undefine | ||
247 | * the macros. See the file USB-IDs-for-free.txt before you assign a name if | ||
248 | * you use a shared VID/PID. | ||
249 | */ | ||
250 | /*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */ | ||
251 | /*#define USB_CFG_SERIAL_NUMBER_LEN 0 */ | ||
252 | /* Same as above for the serial number. If you don't want a serial number, | ||
253 | * undefine the macros. | ||
254 | * It may be useful to provide the serial number through other means than at | ||
255 | * compile time. See the section about descriptor properties below for how | ||
256 | * to fine tune control over USB descriptors such as the string descriptor | ||
257 | * for the serial number. | ||
258 | */ | ||
259 | #define USB_CFG_DEVICE_CLASS 0 | 234 | #define USB_CFG_DEVICE_CLASS 0 |
260 | #define USB_CFG_DEVICE_SUBCLASS 0 | 235 | #define USB_CFG_DEVICE_SUBCLASS 0 |
261 | /* See USB specification if you want to conform to an existing device class. | 236 | /* See USB specification if you want to conform to an existing device class. |
@@ -337,11 +312,11 @@ section at the end of this file). | |||
337 | #define USB_CFG_DESCR_PROPS_DEVICE 0 | 312 | #define USB_CFG_DESCR_PROPS_DEVICE 0 |
338 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC | 313 | #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC |
339 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 | 314 | //#define USB_CFG_DESCR_PROPS_CONFIGURATION 0 |
340 | #define USB_CFG_DESCR_PROPS_STRINGS 0 | 315 | #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC |
341 | #define USB_CFG_DESCR_PROPS_STRING_0 0 | 316 | #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC |
342 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 | 317 | #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC |
343 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 | 318 | #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC |
344 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 | 319 | #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC |
345 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC | 320 | #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC |
346 | //#define USB_CFG_DESCR_PROPS_HID 0 | 321 | //#define USB_CFG_DESCR_PROPS_HID 0 |
347 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC | 322 | #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC |
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index 79e8cf71b..30c970892 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c | |||
@@ -335,6 +335,10 @@ const PROGMEM uchar mouse_extra_hid_report[] = { | |||
335 | }; | 335 | }; |
336 | #endif | 336 | #endif |
337 | 337 | ||
338 | #ifndef SERIAL_NUMBER | ||
339 | # define SERIAL_NUMBER 0 | ||
340 | #endif | ||
341 | |||
338 | #ifndef USB_MAX_POWER_CONSUMPTION | 342 | #ifndef USB_MAX_POWER_CONSUMPTION |
339 | # define USB_MAX_POWER_CONSUMPTION 500 | 343 | # define USB_MAX_POWER_CONSUMPTION 500 |
340 | #endif | 344 | #endif |
@@ -344,6 +348,40 @@ const PROGMEM uchar mouse_extra_hid_report[] = { | |||
344 | # define USB_POLLING_INTERVAL_MS 1 | 348 | # define USB_POLLING_INTERVAL_MS 1 |
345 | #endif | 349 | #endif |
346 | 350 | ||
351 | // clang-format off | ||
352 | const PROGMEM usbStringDescriptor_t usbDescriptorStringZero = { | ||
353 | .header = { | ||
354 | .bLength = USB_STRING_LEN(1), | ||
355 | .bDescriptorType = USBDESCR_STRING | ||
356 | }, | ||
357 | .bString = {0x0409} // US English | ||
358 | }; | ||
359 | |||
360 | const PROGMEM usbStringDescriptor_t usbDescriptorStringManufacturer = { | ||
361 | .header = { | ||
362 | .bLength = USB_STRING_LEN(sizeof(STR(MANUFACTURER)) - 1), | ||
363 | .bDescriptorType = USBDESCR_STRING | ||
364 | }, | ||
365 | .bString = LSTR(MANUFACTURER) | ||
366 | }; | ||
367 | |||
368 | const PROGMEM usbStringDescriptor_t usbDescriptorStringProduct = { | ||
369 | .header = { | ||
370 | .bLength = USB_STRING_LEN(sizeof(STR(PRODUCT)) - 1), | ||
371 | .bDescriptorType = USBDESCR_STRING | ||
372 | }, | ||
373 | .bString = LSTR(PRODUCT) | ||
374 | }; | ||
375 | |||
376 | const PROGMEM usbStringDescriptor_t usbDescriptorStringSerial = { | ||
377 | .header = { | ||
378 | .bLength = USB_STRING_LEN(sizeof(STR(SERIAL_NUMBER)) - 1), | ||
379 | .bDescriptorType = USBDESCR_STRING | ||
380 | }, | ||
381 | .bString = LSTR(SERIAL_NUMBER) | ||
382 | }; | ||
383 | // clang-format on | ||
384 | |||
347 | /* | 385 | /* |
348 | * Descriptor for compite device: Keyboard + Mouse | 386 | * Descriptor for compite device: Keyboard + Mouse |
349 | * | 387 | * |
@@ -457,6 +495,26 @@ USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(struct usbRequest *rq) { | |||
457 | len = sizeof(usbDescriptorConfiguration); | 495 | len = sizeof(usbDescriptorConfiguration); |
458 | break; | 496 | break; |
459 | #endif | 497 | #endif |
498 | case USBDESCR_STRING: | ||
499 | switch (rq->wValue.bytes[0]) { | ||
500 | case 0: | ||
501 | usbMsgPtr = (unsigned char *)&usbDescriptorStringZero; | ||
502 | len = usbDescriptorStringZero.header.bLength; | ||
503 | break; | ||
504 | case 1: // iManufacturer | ||
505 | usbMsgPtr = (unsigned char *)&usbDescriptorStringManufacturer; | ||
506 | len = usbDescriptorStringManufacturer.header.bLength; | ||
507 | break; | ||
508 | case 2: // iProduct | ||
509 | usbMsgPtr = (unsigned char *)&usbDescriptorStringProduct; | ||
510 | len = usbDescriptorStringProduct.header.bLength; | ||
511 | break; | ||
512 | case 3: // iSerialNumber | ||
513 | usbMsgPtr = (unsigned char *)&usbDescriptorStringSerial; | ||
514 | len = usbDescriptorStringSerial.header.bLength; | ||
515 | break; | ||
516 | } | ||
517 | break; | ||
460 | case USBDESCR_HID: | 518 | case USBDESCR_HID: |
461 | switch (rq->wValue.bytes[0]) { | 519 | switch (rq->wValue.bytes[0]) { |
462 | case 0: | 520 | case 0: |
diff --git a/tmk_core/protocol/vusb/vusb.h b/tmk_core/protocol/vusb/vusb.h index 7e3f8c394..cee07207a 100644 --- a/tmk_core/protocol/vusb/vusb.h +++ b/tmk_core/protocol/vusb/vusb.h | |||
@@ -20,6 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
20 | 20 | ||
21 | #include "host_driver.h" | 21 | #include "host_driver.h" |
22 | 22 | ||
23 | typedef struct usbDescriptorHeader { | ||
24 | uchar bLength; | ||
25 | uchar bDescriptorType; | ||
26 | } __attribute__((packed)) usbDescriptorHeader_t; | ||
27 | |||
28 | typedef struct usbStringDescriptor { | ||
29 | usbDescriptorHeader_t header; | ||
30 | int bString[]; | ||
31 | } __attribute__((packed)) usbStringDescriptor_t; | ||
32 | |||
33 | #define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1)) | ||
34 | |||
23 | host_driver_t *vusb_driver(void); | 35 | host_driver_t *vusb_driver(void); |
24 | void vusb_transfer_keyboard(void); | 36 | void vusb_transfer_keyboard(void); |
25 | 37 | ||