summaryrefslogtreecommitdiff
path: root/keyboards/handwired/snatchpad
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/snatchpad
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
downloadqmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.tar.gz
qmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.zip
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/snatchpad')
-rw-r--r--keyboards/handwired/snatchpad/config.h7
-rw-r--r--keyboards/handwired/snatchpad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/handwired/snatchpad/config.h b/keyboards/handwired/snatchpad/config.h
index c0ac5ebbde..dce9776dcd 100644
--- a/keyboards/handwired/snatchpad/config.h
+++ b/keyboards/handwired/snatchpad/config.h
@@ -5,13 +5,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6662
-#define PRODUCT_ID 0x7370
-#define DEVICE_VER 0x0001
-#define MANUFACTURER xia0
-#define PRODUCT snatchpad
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/handwired/snatchpad/info.json b/keyboards/handwired/snatchpad/info.json
index 1306d72b06..22840d7352 100644
--- a/keyboards/handwired/snatchpad/info.json
+++ b/keyboards/handwired/snatchpad/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "snatchpad",
+ "manufacturer": "xia0",
"url": "",
"maintainer": "xia0",
+ "usb": {
+ "vid": "0x6662",
+ "pid": "0x7370",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [