summaryrefslogtreecommitdiff
path: root/keyboards/weirdo/naiping/nphhkb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 15:49:44 +1000
committerGitHub <noreply@github.com>2022-08-06 15:49:44 +1000
commit10ad2389442c00c32714f6e9a6766e9e7bdec2c2 (patch)
treeb10a67eaa4fcc2f8a990aa6cd951bd187312bef8 /keyboards/weirdo/naiping/nphhkb
parent660dedfb176314c9a449c719b98acf9651968ce4 (diff)
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/weirdo/naiping/nphhkb')
-rw-r--r--keyboards/weirdo/naiping/nphhkb/config.h8
-rw-r--r--keyboards/weirdo/naiping/nphhkb/info.json8
2 files changed, 7 insertions, 9 deletions
diff --git a/keyboards/weirdo/naiping/nphhkb/config.h b/keyboards/weirdo/naiping/nphhkb/config.h
index 26993eeb7f..25b4534a9a 100644
--- a/keyboards/weirdo/naiping/nphhkb/config.h
+++ b/keyboards/weirdo/naiping/nphhkb/config.h
@@ -16,14 +16,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7764
-#define PRODUCT_ID 0x7068
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Weirdo
-#define PRODUCT NPhhkb
-
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/weirdo/naiping/nphhkb/info.json b/keyboards/weirdo/naiping/nphhkb/info.json
index 4975aa3a41..8b69fcabb4 100644
--- a/keyboards/weirdo/naiping/nphhkb/info.json
+++ b/keyboards/weirdo/naiping/nphhkb/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "NP_hhkb",
+ "keyboard_name": "NPhhkb",
+ "manufacturer": "Weirdo",
"url": "",
"maintainer": "weirdo-f",
+ "usb": {
+ "vid": "0x7764",
+ "pid": "0x7068",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_60_tsangan_hhkb"
},