diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-20 10:48:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 01:48:38 +0100 |
commit | 201f1a8f47570c83569d1b0f4851b2fddf996fe7 (patch) | |
tree | 9b464f4ea08318d9efa787d92ee6ec4b5f0b70c6 /keyboards/tominabox1 | |
parent | f4dcce7e5975276ef41d882a15e6a459b6b3689d (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)
Diffstat (limited to 'keyboards/tominabox1')
-rw-r--r-- | keyboards/tominabox1/le_chiffre/config.h | 7 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/he/config.h | 4 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/he/info.json | 5 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/info.json | 7 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/rev1/info.json | 5 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/rev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/tominabox1/le_chiffre/rev2/info.json | 5 |
8 files changed, 21 insertions, 17 deletions
diff --git a/keyboards/tominabox1/le_chiffre/config.h b/keyboards/tominabox1/le_chiffre/config.h index 7abeaa1810..e5715bdbce 100644 --- a/keyboards/tominabox1/le_chiffre/config.h +++ b/keyboards/tominabox1/le_chiffre/config.h @@ -17,13 +17,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x7431 -#define PRODUCT_ID 0xD645 - -#define MANUFACTURER tominabox1 -#define PRODUCT Le Chiffre - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 10 diff --git a/keyboards/tominabox1/le_chiffre/he/config.h b/keyboards/tominabox1/le_chiffre/he/config.h index bfba9b96be..4d726e86b8 100644 --- a/keyboards/tominabox1/le_chiffre/he/config.h +++ b/keyboards/tominabox1/le_chiffre/he/config.h @@ -17,10 +17,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0003 - - /* COL2ROW, ROW2COL*/ #undef DIODE_DIRECTION #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/tominabox1/le_chiffre/he/info.json b/keyboards/tominabox1/le_chiffre/he/info.json new file mode 100644 index 0000000000..b377cdff00 --- /dev/null +++ b/keyboards/tominabox1/le_chiffre/he/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.3" + } +} diff --git a/keyboards/tominabox1/le_chiffre/info.json b/keyboards/tominabox1/le_chiffre/info.json index afcbc752a5..6a7e10fad7 100644 --- a/keyboards/tominabox1/le_chiffre/info.json +++ b/keyboards/tominabox1/le_chiffre/info.json @@ -1,7 +1,12 @@ { - "keyboard_name": "le_chiffre", + "keyboard_name": "Le Chiffre", + "manufacturer": "tominabox1", "url": "", "maintainer": "tominabox1", + "usb": { + "vid": "0x7431", + "pid": "0xD645" + }, "layouts": { "LAYOUT": { "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Rotary", "x":5, "y":0, "w":1}, {"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}, diff --git a/keyboards/tominabox1/le_chiffre/rev1/config.h b/keyboards/tominabox1/le_chiffre/rev1/config.h index 0e5b6887cd..c3a478601a 100644 --- a/keyboards/tominabox1/le_chiffre/rev1/config.h +++ b/keyboards/tominabox1/le_chiffre/rev1/config.h @@ -17,9 +17,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0001 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/tominabox1/le_chiffre/rev1/info.json b/keyboards/tominabox1/le_chiffre/rev1/info.json new file mode 100644 index 0000000000..90ac25f360 --- /dev/null +++ b/keyboards/tominabox1/le_chiffre/rev1/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.1" + } +} diff --git a/keyboards/tominabox1/le_chiffre/rev2/config.h b/keyboards/tominabox1/le_chiffre/rev2/config.h index c37f4775aa..2ccbdb031f 100644 --- a/keyboards/tominabox1/le_chiffre/rev2/config.h +++ b/keyboards/tominabox1/le_chiffre/rev2/config.h @@ -17,8 +17,6 @@ #include "config_common.h" -#define DEVICE_VER 0x0002 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/tominabox1/le_chiffre/rev2/info.json b/keyboards/tominabox1/le_chiffre/rev2/info.json new file mode 100644 index 0000000000..e557e4d307 --- /dev/null +++ b/keyboards/tominabox1/le_chiffre/rev2/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.2" + } +} |