summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-09 21:20:02 +0100
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-14 00:03:27 +0100
commit9838ddcead713f5a61486bd2c3f230f29991cb79 (patch)
treee7a91f061afeba8908237ed4eab94f24a499a36f
parenta747343b6172459a8b003907327a7d785ae2b43d (diff)
downloadqmk_firmware-9838ddcead713f5a61486bd2c3f230f29991cb79.tar.gz
qmk_firmware-9838ddcead713f5a61486bd2c3f230f29991cb79.tar.xz
Pretend to be Thinkpad USB Keyboard
-rw-r--r--keyboards/handwired/promethium/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/handwired/promethium/config.h b/keyboards/handwired/promethium/config.h
index 473af67d3..097920a54 100644
--- a/keyboards/handwired/promethium/config.h
+++ b/keyboards/handwired/promethium/config.h
@@ -20,9 +20,15 @@ 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 0xFEED
-#define PRODUCT_ID 0x6660
+#define VENDOR_ID USB_VENDOR_ID_LENOVO
+#define PRODUCT_ID USB_DEVICE_ID_LENOVO_CBTKBD
#define DEVICE_VER 0x0001
#define MANUFACTURER Priyadi
#define PRODUCT Promethium Keyboard