summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/np24
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:52:13 +1000
committerGitHub <noreply@github.com>2022-08-06 18:52:13 +1000
commitfb19e140481ecc360737420850d2d84c67a3d047 (patch)
tree85a46a472375c62bca0e25aaf7c309add2da9706 /keyboards/ymdk/np24
parent0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff)
downloadqmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.tar.gz
qmk_firmware-fb19e140481ecc360737420850d2d84c67a3d047.zip
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/ymdk/np24')
-rw-r--r--keyboards/ymdk/np24/u4rgb6/config.h7
-rw-r--r--keyboards/ymdk/np24/u4rgb6/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h
index dc86ae344b..862f8822ce 100644
--- a/keyboards/ymdk/np24/u4rgb6/config.h
+++ b/keyboards/ymdk/np24/u4rgb6/config.h
@@ -17,13 +17,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x594D
-#define PRODUCT_ID 0x5024
-#define DEVICE_VER 0x0406
-#define MANUFACTURER YMDK
-#define PRODUCT NP24 U4 RGB6
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json
index fe5a940c08..c6965cd568 100644
--- a/keyboards/ymdk/np24/u4rgb6/info.json
+++ b/keyboards/ymdk/np24/u4rgb6/info.json
@@ -1,6 +1,12 @@
{
- "keyboard_name": "YMDK NP24 U4 RGB6",
+ "keyboard_name": "NP24 U4 RGB6",
+ "manufacturer": "YMDK",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x594D",
+ "pid": "0x5024",
+ "device_version": "4.0.6"
+ },
"layouts": {
"LAYOUT_ortho_6x4": {
"layout": [