From fb19e140481ecc360737420850d2d84c67a3d047 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 6 Aug 2022 18:52:13 +1000 Subject: Move keyboard USB IDs and strings to data driven: Y (#17926) --- keyboards/ymdk/np24/u4rgb6/config.h | 7 ------- keyboards/ymdk/np24/u4rgb6/info.json | 8 +++++++- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'keyboards/ymdk/np24/u4rgb6') 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": [ -- cgit v1.2.3