summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/np21
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/np21
parent0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff)
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/ymdk/np21')
-rw-r--r--keyboards/ymdk/np21/config.h7
-rw-r--r--keyboards/ymdk/np21/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h
index 762ac2b4bf..619ec1ce60 100644
--- a/keyboards/ymdk/np21/config.h
+++ b/keyboards/ymdk/np21/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x594D // "YM"
-#define PRODUCT_ID 0x5021 // "P" 21
-#define DEVICE_VER 0x0200
-#define MANUFACTURER YMDK
-#define PRODUCT NP21
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 6
diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/info.json
index 6a611d7a38..6d8347ec32 100644
--- a/keyboards/ymdk/np21/info.json
+++ b/keyboards/ymdk/np21/info.json
@@ -1,6 +1,12 @@
{
- "keyboard_name": "YMDK NP21",
+ "keyboard_name": "NP21",
+ "manufacturer": "YMDK",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x594D",
+ "pid": "0x5021",
+ "device_version": "2.0.0"
+ },
"layouts": {
"LAYOUT_ortho_6x4": {
"layout": [