summaryrefslogtreecommitdiff
path: root/keyboards/xelus/ninjin
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:45:43 +1000
committerGitHub <noreply@github.com>2022-08-06 18:45:43 +1000
commit0e3cc6af12ad0337574280f783ee118a79c6ea55 (patch)
treea69abcbc09837237c910631e5059551a05f4e300 /keyboards/xelus/ninjin
parent64acbcb42a5c38ceedb9e7ba14607e6e6427a92a (diff)
downloadqmk_firmware-0e3cc6af12ad0337574280f783ee118a79c6ea55.tar.gz
qmk_firmware-0e3cc6af12ad0337574280f783ee118a79c6ea55.zip
Move keyboard USB IDs and strings to data driven: X (#17925)
Diffstat (limited to 'keyboards/xelus/ninjin')
-rw-r--r--keyboards/xelus/ninjin/config.h7
-rw-r--r--keyboards/xelus/ninjin/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/xelus/ninjin/config.h b/keyboards/xelus/ninjin/config.h
index 4dd40210a6..7f49c299af 100644
--- a/keyboards/xelus/ninjin/config.h
+++ b/keyboards/xelus/ninjin/config.h
@@ -16,13 +16,6 @@
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5845 // XE
-#define PRODUCT_ID 0x4E4A // NJ
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Xelus
-#define PRODUCT Ninjin
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 17
diff --git a/keyboards/xelus/ninjin/info.json b/keyboards/xelus/ninjin/info.json
index 8b44ea9ded..f85a6a54c4 100644
--- a/keyboards/xelus/ninjin/info.json
+++ b/keyboards/xelus/ninjin/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Ninjin",
+ "manufacturer": "Xelus",
"url": "",
"maintainer": "Xelus",
+ "usb": {
+ "vid": "0x5845",
+ "pid": "0x4E4A",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT_all": "LAYOUT_tkl_ansi_tsangan"
},