From 10ad2389442c00c32714f6e9a6766e9e7bdec2c2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 6 Aug 2022 15:49:44 +1000 Subject: Move keyboard USB IDs and strings to data driven: W (#17903) --- keyboards/westfoxtrot/cypher/rev1/config.h | 7 ------- keyboards/westfoxtrot/cypher/rev1/info.json | 8 +++++++- keyboards/westfoxtrot/cypher/rev5/config.h | 7 ------- keyboards/westfoxtrot/cypher/rev5/info.json | 8 +++++++- 4 files changed, 14 insertions(+), 16 deletions(-) (limited to 'keyboards/westfoxtrot/cypher') 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 . #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 . #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": [ -- cgit v1.2.1