summary refs log tree commit diff
path: root/keyboards/handwired/battleship_gamepad
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 17:31:44 +1000
committerGitHub <noreply@github.com>2022-07-30 17:31:44 +1000
commit2d778d2ff28ed10c43c79783e6c519f00dee1429 (patch)
treec4535d1c66c573795ac30f601cd1315dc8664824 /keyboards/handwired/battleship_gamepad
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/battleship_gamepad')
-rw-r--r--keyboards/handwired/battleship_gamepad/config.h7
-rw-r--r--keyboards/handwired/battleship_gamepad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/handwired/battleship_gamepad/config.h b/keyboards/handwired/battleship_gamepad/config.h
index 1cbfbf87e9..92ad57d178 100644
--- a/keyboards/handwired/battleship_gamepad/config.h
+++ b/keyboards/handwired/battleship_gamepad/config.h
@@ -18,13 +18,6 @@
 
 #include "config_common.h"
 
-/* USB Device descriptor parameter */
-#define VENDOR_ID       0x4142
-#define PRODUCT_ID      0x0000
-#define DEVICE_VER      0x0001
-#define MANUFACTURER    arbraini
-#define PRODUCT         Battleship Gamepad
-
 /* key matrix size */
 #define MATRIX_ROWS 5
 #define MATRIX_COLS 8
diff --git a/keyboards/handwired/battleship_gamepad/info.json b/keyboards/handwired/battleship_gamepad/info.json
index 581f290aa2..b2278a79ac 100644
--- a/keyboards/handwired/battleship_gamepad/info.json
+++ b/keyboards/handwired/battleship_gamepad/info.json
@@ -1,7 +1,13 @@
 {
     "keyboard_name": "Battleship Gamepad",
+    "manufacturer": "arbraini",
     "url": "https://github.com/abraini-Nascent/battleship_gamepad",
     "maintainer": "arbraini",
+    "usb": {
+        "vid": "0x4142",
+        "pid": "0x0000",
+        "device_version": "0.0.1"
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [