From 9397bffd014c1b7f8db28675c840499f9003098b Mon Sep 17 00:00:00 2001 From: fauxpark Date: Fri, 10 Jan 2020 18:50:56 +1100 Subject: [PATCH] Fix a couple of USB VIDs for the API (#7848) --- keyboards/handwired/promethium/config.h | 13 +++++-------- keyboards/uk78/config.h | 4 ++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/keyboards/handwired/promethium/config.h b/keyboards/handwired/promethium/config.h index f05273d2548..f9560206b49 100644 --- a/keyboards/handwired/promethium/config.h +++ b/keyboards/handwired/promethium/config.h @@ -19,15 +19,12 @@ along with this program. If not, see . #include "config_common.h" -#define USB_VENDOR_ID_LENOVO 0x17ef -#define USB_DEVICE_ID_LENOVO_TPKBD 0x6009 -#define USB_DEVICE_ID_LENOVO_CUSBKBD 0x6047 -#define USB_DEVICE_ID_LENOVO_CBTKBD 0x6048 -#define USB_DEVICE_ID_LENOVO_TPPRODOCK 0x6067 - /* USB Device descriptor parameter */ -#define VENDOR_ID USB_VENDOR_ID_LENOVO -#define PRODUCT_ID USB_DEVICE_ID_LENOVO_CBTKBD +#define VENDOR_ID 0x17EF // Lenovo +//#define PRODUCT_ID 0x6009 // ThinkPad Keyboard with TrackPoint +//#define PRODUCT_ID 0x6047 // ThinkPad Compact USB Keyboard with TrackPoint +#define PRODUCT_ID 0x6048 // ThinkPad Compact Bluetooth Keyboard with TrackPoint +//#define PRODUCT_ID 0x6067 // ThinkPad Pro Docking Station #define DEVICE_VER 0x0001 #define MANUFACTURER Priyadi #define PRODUCT Promethium Keyboard diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h index 879360773fa..5459e687b67 100644 --- a/keyboards/uk78/config.h +++ b/keyboards/uk78/config.h @@ -21,8 +21,8 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x554B /* Ascii */ -#define PRODUCT_ID 0x004E +#define VENDOR_ID 0x554B // "UK" +#define PRODUCT_ID 0x004E // 78 #define DEVICE_VER 0x0002 #define MANUFACTURER UK Keyboards #define PRODUCT UK78