summaryrefslogtreecommitdiff
path: root/keyboards/weirdo/naiping
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
parent660dedfb176314c9a449c719b98acf9651968ce4 (diff)
downloadqmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.tar.gz
qmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.zip
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/weirdo/naiping')
-rw-r--r--keyboards/weirdo/naiping/np64/config.h8
-rw-r--r--keyboards/weirdo/naiping/np64/info.json8
-rw-r--r--keyboards/weirdo/naiping/nphhkb/config.h8
-rw-r--r--keyboards/weirdo/naiping/nphhkb/info.json8
-rw-r--r--keyboards/weirdo/naiping/npminila/config.h8
-rw-r--r--keyboards/weirdo/naiping/npminila/info.json8
6 files changed, 21 insertions, 27 deletions
diff --git a/keyboards/weirdo/naiping/np64/config.h b/keyboards/weirdo/naiping/np64/config.h
index ee4bdb8675..2044a9546b 100644
--- a/keyboards/weirdo/naiping/np64/config.h
+++ b/keyboards/weirdo/naiping/np64/config.h
@@ -16,14 +16,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7764
-#define PRODUCT_ID 0x7064
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Weirdo
-#define PRODUCT NP64
-
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/weirdo/naiping/np64/info.json b/keyboards/weirdo/naiping/np64/info.json
index 8bf71afe0c..83a9c07193 100644
--- a/keyboards/weirdo/naiping/np64/info.json
+++ b/keyboards/weirdo/naiping/np64/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "np64",
+ "keyboard_name": "NP64",
+ "manufacturer": "Weirdo",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x7764",
+ "pid": "0x7064",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_64_ansi"
},
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"
},
diff --git a/keyboards/weirdo/naiping/npminila/config.h b/keyboards/weirdo/naiping/npminila/config.h
index f18b36d8e7..29a8d9d2f3 100644
--- a/keyboards/weirdo/naiping/npminila/config.h
+++ b/keyboards/weirdo/naiping/npminila/config.h
@@ -16,14 +16,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7764
-#define PRODUCT_ID 0x706D
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Weirdo
-#define PRODUCT NPminila
-
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/weirdo/naiping/npminila/info.json b/keyboards/weirdo/naiping/npminila/info.json
index 4dbe3127d3..be15116ed7 100644
--- a/keyboards/weirdo/naiping/npminila/info.json
+++ b/keyboards/weirdo/naiping/npminila/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "NP_minila",
+ "keyboard_name": "NPminila",
+ "manufacturer": "Weirdo",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x7764",
+ "pid": "0x706D",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [