summaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked/cu24
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/capsunlocked/cu24
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/capsunlocked/cu24')
-rw-r--r--keyboards/capsunlocked/cu24/config.h7
-rw-r--r--keyboards/capsunlocked/cu24/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/capsunlocked/cu24/config.h b/keyboards/capsunlocked/cu24/config.h
index cd5e0ccd39..1d3bdb1212 100644
--- a/keyboards/capsunlocked/cu24/config.h
+++ b/keyboards/capsunlocked/cu24/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x0000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Yiancar/CapsUnlocked
-#define PRODUCT CU24
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/info.json
index 532bc13bee..e9a77c119a 100644
--- a/keyboards/capsunlocked/cu24/info.json
+++ b/keyboards/capsunlocked/cu24/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "cu24",
+ "keyboard_name": "CU24",
+ "manufacturer": "Yiancar/CapsUnlocked",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_grid": {
"layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"+", "x":3, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"x":3, "y":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"Enter", "x":3, "y":3}, {"label":"0", "x":0, "y":4}, {"x":1, "y":4}, {"label":".", "x":2, "y":4}, {"x":3, "y":4}, {"x":0, "y":5}, {"x":1, "y":5}, {"x":2, "y":5}, {"x":3, "y":5}]