summaryrefslogtreecommitdiff
path: root/keyboards/cradio
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/cradio
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
downloadqmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.tar.gz
qmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.zip
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/cradio')
-rw-r--r--keyboards/cradio/config.h7
-rw-r--r--keyboards/cradio/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/cradio/config.h b/keyboards/cradio/config.h
index aba6050af1..65895f8492 100644
--- a/keyboards/cradio/config.h
+++ b/keyboards/cradio/config.h
@@ -21,13 +21,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xC88B
-#define PRODUCT_ID 0x3988
-#define DEVICE_VER 0x0001
-#define MANUFACTURER DPB
-#define PRODUCT Cradio
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 5
diff --git a/keyboards/cradio/info.json b/keyboards/cradio/info.json
index 78cb7ef195..9a99ee7c3e 100644
--- a/keyboards/cradio/info.json
+++ b/keyboards/cradio/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Cradio",
+ "manufacturer": "DPB",
"url": "https://github.com/davidphilipbarr/Sweep",
"maintainer": "@davidphilipbarr",
+ "usb": {
+ "vid": "0xC88B",
+ "pid": "0x3988",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [