summaryrefslogtreecommitdiff
path: root/keyboards/np12
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-02 10:10:48 +1000
committerGitHub <noreply@github.com>2022-08-02 01:10:48 +0100
commit056a44c7d3806dad0896133743b755151992d61f (patch)
tree4186a9298c0211a2c51c01ebb4f60124e7efa218 /keyboards/np12
parent7222969964a41a295910844ef93372e368439a09 (diff)
Move keyboard USB IDs and strings to data driven: N (#17865)
Diffstat (limited to 'keyboards/np12')
-rw-r--r--keyboards/np12/config.h9
-rw-r--r--keyboards/np12/info.json6
2 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/np12/config.h b/keyboards/np12/config.h
index b330c29feb..c769feff96 100644
--- a/keyboards/np12/config.h
+++ b/keyboards/np12/config.h
@@ -18,15 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xA4A4
-#define PRODUCT_ID 0x4401
-#define DEVICE_VER 0x0001
-#define MANUFACTURER nut1414
-#define PRODUCT np12
-
-
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 5
diff --git a/keyboards/np12/info.json b/keyboards/np12/info.json
index 06e544244b..8b8d89cc4a 100644
--- a/keyboards/np12/info.json
+++ b/keyboards/np12/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "np12",
+ "manufacturer": "nut1414",
"url": "https://github.com/nut1414/np12",
"maintainer": "nut1414",
+ "usb": {
+ "vid": "0xA4A4",
+ "pid": "0x4401",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [