summaryrefslogtreecommitdiff
path: root/keyboards/annepro2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-14 10:47:05 +1000
committerGitHub <noreply@github.com>2022-08-13 17:47:05 -0700
commit30796913913c0f6dc0cce317ad8249de2b602294 (patch)
tree74c69b26ecb9c9923b3e5b8b4c9b9904741ed6d0 /keyboards/annepro2
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
downloadqmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.tar.gz
qmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.zip
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/annepro2')
-rw-r--r--keyboards/annepro2/c15/config.h6
-rw-r--r--keyboards/annepro2/c15/info.json6
-rw-r--r--keyboards/annepro2/c18/config.h6
-rw-r--r--keyboards/annepro2/c18/info.json6
-rw-r--r--keyboards/annepro2/info.json6
5 files changed, 17 insertions, 13 deletions
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": [