summaryrefslogtreecommitdiff
path: root/keyboards/walletburner/cajal
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/walletburner/cajal
parent660dedfb176314c9a449c719b98acf9651968ce4 (diff)
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/walletburner/cajal')
-rw-r--r--keyboards/walletburner/cajal/config.h7
-rw-r--r--keyboards/walletburner/cajal/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/walletburner/cajal/config.h b/keyboards/walletburner/cajal/config.h
index f653710e6c..db2e459d08 100644
--- a/keyboards/walletburner/cajal/config.h
+++ b/keyboards/walletburner/cajal/config.h
@@ -18,13 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5742 // WB
-#define PRODUCT_ID 0x6361 // CJ
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Walletburner
-#define PRODUCT Cajal
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 14
diff --git a/keyboards/walletburner/cajal/info.json b/keyboards/walletburner/cajal/info.json
index 5539c501a4..99eb31c61a 100644
--- a/keyboards/walletburner/cajal/info.json
+++ b/keyboards/walletburner/cajal/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "cajal",
+ "keyboard_name": "Cajal",
+ "manufacturer": "Walletburner",
"url": "https://qmk.fm/keyboards/",
"maintainer": "worldspawn00",
+ "usb": {
+ "vid": "0x5742",
+ "pid": "0x6361",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_stagger": {
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"[", "x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"RGB", "x":13.25, "y":0.5}, {"label":"", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":"'", "x":10.25, "y":1}, {"label":"Return", "x":11.25, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":",", "x":8.75, "y":2}, {"label":".", "x":9.75, "y":2}, {"label":"/", "x":10.75, "y":2, "w":1.25}, {"label":"&uarr;", "x":12.25, "y":2.25}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Alt", "x":1.25, "y":3}, {"label":"Super", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":2.25}, {"x":5.75, "y":3, "w":2.75}, {"label":"Ctrl", "x":8.5, "y":3, "w":1.25}, {"label":"Del", "x":9.75, "y":3, "w":1.25}, {"label":"&larr;", "x":11.25, "y":3.25}, {"label":"&darr;", "x":12.25, "y":3.25}, {"label":"&rarr;", "x":13.25, "y":3.25}]