From f4dcce7e5975276ef41d882a15e6a459b6b3689d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:45:28 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: M-O (#18090) --- keyboards/opendeck/32/info.json | 8 +++++++- keyboards/opendeck/32/rev1/config.h | 7 ------- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'keyboards/opendeck') diff --git a/keyboards/opendeck/32/info.json b/keyboards/opendeck/32/info.json index ad354e7506..8e22d925b1 100644 --- a/keyboards/opendeck/32/info.json +++ b/keyboards/opendeck/32/info.json @@ -1,5 +1,11 @@ { - "keyboard_name": "OpenDeck 32", + "keyboard_name": "OpenDeck32", + "manufacturer": "OpenDeck", + "usb": { + "vid": "0x4345", + "pid": "0x2EC0", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ortho_4x8": { "layout": [ diff --git a/keyboards/opendeck/32/rev1/config.h b/keyboards/opendeck/32/rev1/config.h index 73967671d0..6a87ad86b4 100644 --- a/keyboards/opendeck/32/rev1/config.h +++ b/keyboards/opendeck/32/rev1/config.h @@ -17,13 +17,6 @@ #include "config_common.h" -// USB Device descriptor parameter -#define VENDOR_ID 0x4345 -#define PRODUCT_ID 0x2EC0 -#define DEVICE_VER 0x0001 -#define MANUFACTURER OpenDeck -#define PRODUCT OpenDeck32 - // Key matrix (TtB, LtR) #define MATRIX_ROWS 4 #define MATRIX_COLS 8 -- cgit v1.2.3