summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm60hsrgb_ec
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:03:47 +1000
committerGitHub <noreply@github.com>2022-08-03 17:03:47 +1000
commit1b92c204c10594fce6a715710c277a748a4fdc68 (patch)
tree0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/kprepublic/bm60hsrgb_ec
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb_ec')
-rw-r--r--keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h7
-rw-r--r--keyboards/kprepublic/bm60hsrgb_ec/rev1/info.json8
-rw-r--r--keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h7
-rw-r--r--keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json8
4 files changed, 14 insertions, 16 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h b/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h
index 9aa52dae90..868ce40d8c 100644
--- a/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h
+++ b/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4B50 // "KP"
-#define PRODUCT_ID 0xEF9C
-#define DEVICE_VER 0x0001
-#define MANUFACTURER KP Republic
-#define PRODUCT BM60HSRGB_EC
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev1/info.json b/keyboards/kprepublic/bm60hsrgb_ec/rev1/info.json
index 32dd998959..d56d62fe59 100644
--- a/keyboards/kprepublic/bm60hsrgb_ec/rev1/info.json
+++ b/keyboards/kprepublic/bm60hsrgb_ec/rev1/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "BM60HSRGB_EC rev1",
+ "keyboard_name": "BM60HSRGB_EC Rev1",
+ "manufacturer": "KP Republic",
"url": "",
"maintainer": "peepeetee",
+ "usb": {
+ "vid": "0x4B50",
+ "pid": "0xEF9C",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h
index 5c2bf39ced..0a63b7819b 100644
--- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h
+++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h
@@ -17,13 +17,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4B50
-#define PRODUCT_ID 0x1124
-#define DEVICE_VER 0x0002
-#define MANUFACTURER KP Republic
-#define PRODUCT BM60V2_ec
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json
index c66533949e..b8e28b0ea2 100644
--- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json
+++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "BM60HSRGB_EC rev2",
+ "keyboard_name": "BM60HSRGB_EC Rev2",
+ "manufacturer": "KP Republic",
"url": "",
"maintainer": "peepeetee",
+ "usb": {
+ "vid": "0x4B50",
+ "pid": "0x1124",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT": {
"layout": [