diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-04 08:12:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 08:12:37 +1000 |
commit | a8744b163074457253da2c63affd3b4cceefe04a (patch) | |
tree | a2410a2476a6dfb0dd51f15eebfc360c8238b413 /keyboards/sirius | |
parent | b40c03140e5da1edac2faa2b672a84ea28d0a7c1 (diff) |
Move keyboard USB IDs and strings to data driven: S (#17889)
Diffstat (limited to 'keyboards/sirius')
-rw-r--r-- | keyboards/sirius/uni660/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev1/info.json | 6 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/ansi/config.h | 7 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/ansi/info.json | 8 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/iso/config.h | 7 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/iso/info.json | 8 | ||||
-rw-r--r-- | keyboards/sirius/unigo66/config.h | 7 | ||||
-rw-r--r-- | keyboards/sirius/unigo66/info.json | 6 |
8 files changed, 26 insertions, 30 deletions
diff --git a/keyboards/sirius/uni660/rev1/config.h b/keyboards/sirius/uni660/rev1/config.h index 4b810e2cd6..649fd5deda 100644 --- a/keyboards/sirius/uni660/rev1/config.h +++ b/keyboards/sirius/uni660/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 0x5352 // "SR" -#define PRODUCT_ID 0x0201 // Second Product First Version -#define DEVICE_VER 0x1912 // 2019.12 -#define MANUFACTURER SiRius -#define PRODUCT Uni660 - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/sirius/uni660/rev1/info.json b/keyboards/sirius/uni660/rev1/info.json index f3a9b244e8..9960c4c35b 100644 --- a/keyboards/sirius/uni660/rev1/info.json +++ b/keyboards/sirius/uni660/rev1/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Uni660", + "manufacturer": "SiRius", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x5352", + "pid": "0x0201", + "device_version": "19.1.2" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/sirius/uni660/rev2/ansi/config.h b/keyboards/sirius/uni660/rev2/ansi/config.h index 19ee1166c3..649fd5deda 100644 --- a/keyboards/sirius/uni660/rev2/ansi/config.h +++ b/keyboards/sirius/uni660/rev2/ansi/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 0x5352 // "SR" -#define PRODUCT_ID 0x0202 // Second Product Second Version -#define DEVICE_VER 0x2004 // 2020.12 -#define MANUFACTURER SiRius -#define PRODUCT Uni660 V2 - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/sirius/uni660/rev2/ansi/info.json b/keyboards/sirius/uni660/rev2/ansi/info.json index 630038cdd0..eaf2e8538a 100644 --- a/keyboards/sirius/uni660/rev2/ansi/info.json +++ b/keyboards/sirius/uni660/rev2/ansi/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Uni660", + "keyboard_name": "Uni660 V2 ANSI", + "manufacturer": "SiRius", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x5352", + "pid": "0x0202", + "device_version": "20.0.4" + }, "layouts": { "LAYOUT_ansi": { "layout": [ diff --git a/keyboards/sirius/uni660/rev2/iso/config.h b/keyboards/sirius/uni660/rev2/iso/config.h index f0f771707e..649fd5deda 100644 --- a/keyboards/sirius/uni660/rev2/iso/config.h +++ b/keyboards/sirius/uni660/rev2/iso/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 0x5352 // "SR" -#define PRODUCT_ID 0x0203 // Second Product Third Version -#define DEVICE_VER 0x2004 // 2020.12 -#define MANUFACTURER SiRius -#define PRODUCT Uni660 V2 - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 16 diff --git a/keyboards/sirius/uni660/rev2/iso/info.json b/keyboards/sirius/uni660/rev2/iso/info.json index e2d72bfb51..bb46a2f3ab 100644 --- a/keyboards/sirius/uni660/rev2/iso/info.json +++ b/keyboards/sirius/uni660/rev2/iso/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "Uni660", + "keyboard_name": "Uni660 V2 ISO", + "manufacturer": "SiRius", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x5352", + "pid": "0x0203", + "device_version": "20.0.4" + }, "layouts": { "LAYOUT_iso": { "layout": [ diff --git a/keyboards/sirius/unigo66/config.h b/keyboards/sirius/unigo66/config.h index 777046db0c..d1511874ec 100644 --- a/keyboards/sirius/unigo66/config.h +++ b/keyboards/sirius/unigo66/config.h @@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1001 -#define DEVICE_VER 0x1901 -#define MANUFACTURER Sirius -#define PRODUCT UniGo66 - /* size of virtual matrix */ #define MATRIX_ROWS 16 #define MATRIX_COLS 16 diff --git a/keyboards/sirius/unigo66/info.json b/keyboards/sirius/unigo66/info.json index d1acdeeb07..fca325dd92 100644 --- a/keyboards/sirius/unigo66/info.json +++ b/keyboards/sirius/unigo66/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "UniGo66", + "manufacturer": "Sirius", "url": "https://discord.gg/GJ8bdM", "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x1001", + "device_version": "19.0.1" + }, "layouts": { "LAYOUT": { "layout": [ |