summaryrefslogtreecommitdiff
path: root/keyboards/crbn
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 09:04:09 +1000
committerGitHub <noreply@github.com>2022-07-26 00:04:09 +0100
commita939293aca697cb263f4972dbb1521d273fbf499 (patch)
treec582d4bf0a5937618d0f5cc12c6f70068bab56a5 /keyboards/crbn
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/crbn')
-rw-r--r--keyboards/crbn/config.h7
-rw-r--r--keyboards/crbn/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/crbn/config.h b/keyboards/crbn/config.h
index 8873022269..d2ff5b1fea 100644
--- a/keyboards/crbn/config.h
+++ b/keyboards/crbn/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x726F
-#define PRODUCT_ID 0x0002
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Polarity Works
-#define PRODUCT CRBN
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
diff --git a/keyboards/crbn/info.json b/keyboards/crbn/info.json
index f9369ec2cd..0ae3a72434 100644
--- a/keyboards/crbn/info.json
+++ b/keyboards/crbn/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "CRBN",
+ "manufacturer": "Polarity Works",
"url": "polarityworks.com",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x726F",
+ "pid": "0x0002",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_crbn_1x2u": {
"layout": [