summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2020-01-10 18:50:56 +1100
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-09 23:50:55 -0800
commit9397bffd014c1b7f8db28675c840499f9003098b (patch)
tree453f8f316b5c78330556224e7ed1623610e9947e
parent7f388b65530b06779089be6cb4ddc56b2ecb36ff (diff)
Fix a couple of USB VIDs for the API (#7848)
-rw-r--r--keyboards/handwired/promethium/config.h13
-rw-r--r--keyboards/uk78/config.h4
2 files changed, 7 insertions, 10 deletions
diff --git a/keyboards/handwired/promethium/config.h b/keyboards/handwired/promethium/config.h
index f05273d254..f9560206b4 100644
--- a/keyboards/handwired/promethium/config.h
+++ b/keyboards/handwired/promethium/config.h
@@ -19,15 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 879360773f..5459e687b6 100644
--- a/keyboards/uk78/config.h
+++ b/keyboards/uk78/config.h
@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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