summary refs log tree commit diff
path: root/keyboards/amag23
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 10:52:18 +1000
committerGitHub <noreply@github.com>2022-07-26 01:52:18 +0100
commit674422eb13a4f5c9c8238629e42f4fc1d7641ede (patch)
treea6bd07b6866ea0bb189c05e2bf63cbfa20dc5bc5 /keyboards/amag23
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/amag23')
-rw-r--r--keyboards/amag23/config.h7
-rw-r--r--keyboards/amag23/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/amag23/config.h b/keyboards/amag23/config.h
index 798fcf9d0f..cbbac33136 100644
--- a/keyboards/amag23/config.h
+++ b/keyboards/amag23/config.h
@@ -17,13 +17,6 @@
 
 #include "config_common.h"
 
-/* USB Device descriptor parameter */
-#define VENDOR_ID       0x4B54   // "KT"
-#define PRODUCT_ID      0x2323
-#define DEVICE_VER      0x0001
-#define MANUFACTURER    Koolertron
-#define PRODUCT         AMAG23
-
 /* key matrix size */
 #define MATRIX_ROWS 4
 #define MATRIX_COLS 6
diff --git a/keyboards/amag23/info.json b/keyboards/amag23/info.json
index dc44b51224..7eb9aed982 100644
--- a/keyboards/amag23/info.json
+++ b/keyboards/amag23/info.json
@@ -1,7 +1,13 @@
 {
     "keyboard_name": "AMAG23",
+    "manufacturer": "Koolertron",
     "url": "http://www.koolertron.com/koolertron-one-handed-macro-mechanical-keyboard-rgb-led-backlit-portable-mini-onehanded-mechanical-gaming-keypad-23-fully-programmable-keys-blue-switches-p-874.html",
     "maintainer": "ianmclinden",
+    "usb": {
+        "vid": "0x4B54",
+        "pid": "0x2323",
+        "device_version": "0.0.1"
+    },
     "layouts": {
         "LAYOUT_all": {
             "layout": [