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/annepro2/c15/config.h | 6 ------ keyboards/annepro2/c15/info.json | 6 ++++++ keyboards/annepro2/c18/config.h | 6 ------ keyboards/annepro2/c18/info.json | 6 ++++++ keyboards/annepro2/info.json | 6 +++++- 5 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 keyboards/annepro2/c15/info.json create mode 100644 keyboards/annepro2/c18/info.json (limited to 'keyboards/annepro2') diff --git a/keyboards/annepro2/c15/config.h b/keyboards/annepro2/c15/config.h index ff92aeea8e..0869ad1773 100644 --- a/keyboards/annepro2/c15/config.h +++ b/keyboards/annepro2/c15/config.h @@ -20,12 +20,6 @@ #include "pin_defs.h" #include "config_led.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xfeed -#define PRODUCT_ID 0xac15 -#define DEVICE_VER 0x1337 -#define MANUFACTURER Obins -#define PRODUCT Anne Pro 2 QMK // key matrix size #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/annepro2/c15/info.json b/keyboards/annepro2/c15/info.json new file mode 100644 index 0000000000..c8c637ccfb --- /dev/null +++ b/keyboards/annepro2/c15/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Anne Pro 2 C15 (QMK)", + "usb": { + "pid": "0xAC15" + } +} diff --git a/keyboards/annepro2/c18/config.h b/keyboards/annepro2/c18/config.h index 82a406a157..eec7bbf1f0 100644 --- a/keyboards/annepro2/c18/config.h +++ b/keyboards/annepro2/c18/config.h @@ -20,12 +20,6 @@ #include "pin_defs.h" #include "config_led.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xfeed -#define PRODUCT_ID 0xac18 -#define DEVICE_VER 0x1337 -#define MANUFACTURER Obins -#define PRODUCT Anne Pro 2(c18)QMK // key matrix size #define MATRIX_ROWS 5 #define MATRIX_COLS 14 diff --git a/keyboards/annepro2/c18/info.json b/keyboards/annepro2/c18/info.json new file mode 100644 index 0000000000..94b96a2c44 --- /dev/null +++ b/keyboards/annepro2/c18/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Anne Pro 2 C18 (QMK)", + "usb": { + "pid": "0xAC18" + } +} diff --git a/keyboards/annepro2/info.json b/keyboards/annepro2/info.json index 95786329b2..d2ddae4053 100644 --- a/keyboards/annepro2/info.json +++ b/keyboards/annepro2/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "Anne Pro 2", + "manufacturer": "Obins", "url": "https://openannepro.github.io/", "maintainer": "bwisn", + "usb": { + "vid": "0xFEED", + "device_version": "13.3.7" + }, "layouts": { "LAYOUT_60_ansi": { "layout": [ -- cgit v1.2.3