diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-06 15:49:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 15:49:44 +1000 |
commit | 10ad2389442c00c32714f6e9a6766e9e7bdec2c2 (patch) | |
tree | b10a67eaa4fcc2f8a990aa6cd951bd187312bef8 /keyboards/westfoxtrot/cypher | |
parent | 660dedfb176314c9a449c719b98acf9651968ce4 (diff) | |
download | qmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.tar.gz qmk_firmware-10ad2389442c00c32714f6e9a6766e9e7bdec2c2.zip |
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/westfoxtrot/cypher')
-rw-r--r-- | keyboards/westfoxtrot/cypher/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/westfoxtrot/cypher/rev1/info.json | 8 | ||||
-rw-r--r-- | keyboards/westfoxtrot/cypher/rev5/config.h | 7 | ||||
-rw-r--r-- | keyboards/westfoxtrot/cypher/rev5/info.json | 8 |
4 files changed, 14 insertions, 16 deletions
diff --git a/keyboards/westfoxtrot/cypher/rev1/config.h b/keyboards/westfoxtrot/cypher/rev1/config.h index 9e7baa67b7..5c3baeab7f 100644 --- a/keyboards/westfoxtrot/cypher/rev1/config.h +++ b/keyboards/westfoxtrot/cypher/rev1/config.h @@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x21FF -#define PRODUCT_ID 0xAA97 -#define DEVICE_VER 0x0001 -#define MANUFACTURER westfoxtrot -#define PRODUCT cypher - /* key matrix size */ #define MATRIX_ROWS 10 #define MATRIX_COLS 10 diff --git a/keyboards/westfoxtrot/cypher/rev1/info.json b/keyboards/westfoxtrot/cypher/rev1/info.json index 31a5369c81..fcb1460456 100644 --- a/keyboards/westfoxtrot/cypher/rev1/info.json +++ b/keyboards/westfoxtrot/cypher/rev1/info.json @@ -1,5 +1,11 @@ { - "keyboard_name": "Cypher", + "keyboard_name": "cypher", + "manufacturer": "westfoxtrot", + "usb": { + "vid": "0x21FF", + "pid": "0xAA97", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_ansi": { "layout": [ diff --git a/keyboards/westfoxtrot/cypher/rev5/config.h b/keyboards/westfoxtrot/cypher/rev5/config.h index 542f6e2798..cbceb15e26 100644 --- a/keyboards/westfoxtrot/cypher/rev5/config.h +++ b/keyboards/westfoxtrot/cypher/rev5/config.h @@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x21FF -#define PRODUCT_ID 0xAA98 -#define DEVICE_VER 0x0002 -#define MANUFACTURER westfoxtrot -#define PRODUCT cypher - /* key matrix size */ #define MATRIX_ROWS 10 #define MATRIX_COLS 10 diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/info.json index 80d5960be3..9df30afd75 100644 --- a/keyboards/westfoxtrot/cypher/rev5/info.json +++ b/keyboards/westfoxtrot/cypher/rev5/info.json @@ -1,5 +1,11 @@ { - "keyboard_name": "Cypher", + "keyboard_name": "cypher", + "manufacturer": "westfoxtrot", + "usb": { + "vid": "0x21FF", + "pid": "0xAA98", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT_all": { "layout": [ |