From 30796913913c0f6dc0cce317ad8249de2b602294 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 14 Aug 2022 10:47:05 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941) --- keyboards/1upkeyboards/sweet16/v2/promicro/config.h | 4 ---- keyboards/1upkeyboards/sweet16/v2/promicro/info.json | 6 ++++++ keyboards/1upkeyboards/sweet16/v2/proton_c/config.h | 4 ---- keyboards/1upkeyboards/sweet16/v2/proton_c/info.json | 6 ++++++ 4 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 keyboards/1upkeyboards/sweet16/v2/promicro/info.json create mode 100644 keyboards/1upkeyboards/sweet16/v2/proton_c/info.json (limited to 'keyboards/1upkeyboards/sweet16/v2') diff --git a/keyboards/1upkeyboards/sweet16/v2/promicro/config.h b/keyboards/1upkeyboards/sweet16/v2/promicro/config.h index d344b0750d..99cb5388d2 100644 --- a/keyboards/1upkeyboards/sweet16/v2/promicro/config.h +++ b/keyboards/1upkeyboards/sweet16/v2/promicro/config.h @@ -2,10 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x0162 -#define DEVICE_VER 0x0001 - /* key matrix pins */ #define MATRIX_ROW_PINS { D4, D1, E6, B5 } #define MATRIX_COL_PINS { F7, F6, D2, D3 } diff --git a/keyboards/1upkeyboards/sweet16/v2/promicro/info.json b/keyboards/1upkeyboards/sweet16/v2/promicro/info.json new file mode 100644 index 0000000000..bed6579e82 --- /dev/null +++ b/keyboards/1upkeyboards/sweet16/v2/promicro/info.json @@ -0,0 +1,6 @@ +{ + "usb": { + "pid": "0x0162", + "device_version": "0.0.1" + } +} diff --git a/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h b/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h index 286af1857f..ba25c0fa0d 100644 --- a/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h +++ b/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h @@ -2,10 +2,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x0162 -#define DEVICE_VER 0x0001 - /* key matrix pins */ #define MATRIX_ROW_PINS { B5, B7, B2, B0 } #define MATRIX_COL_PINS { B8, A0, A10, A9 } diff --git a/keyboards/1upkeyboards/sweet16/v2/proton_c/info.json b/keyboards/1upkeyboards/sweet16/v2/proton_c/info.json new file mode 100644 index 0000000000..bed6579e82 --- /dev/null +++ b/keyboards/1upkeyboards/sweet16/v2/proton_c/info.json @@ -0,0 +1,6 @@ +{ + "usb": { + "pid": "0x0162", + "device_version": "0.0.1" + } +} -- cgit v1.2.3