From 835c971f78b5d995bb58f0889fac00aac348de52 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 20 Aug 2022 10:39:35 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: J-L (#18080) --- keyboards/keebio/nyquist/info.json | 5 ++++- keyboards/keebio/nyquist/rev1/config.h | 7 ------- keyboards/keebio/nyquist/rev1/info.json | 7 +++++++ keyboards/keebio/nyquist/rev2/config.h | 7 ------- keyboards/keebio/nyquist/rev2/info.json | 7 +++++++ keyboards/keebio/nyquist/rev3/config.h | 7 ------- keyboards/keebio/nyquist/rev3/info.json | 7 +++++++ 7 files changed, 25 insertions(+), 22 deletions(-) create mode 100644 keyboards/keebio/nyquist/rev1/info.json create mode 100644 keyboards/keebio/nyquist/rev2/info.json create mode 100644 keyboards/keebio/nyquist/rev3/info.json (limited to 'keyboards/keebio/nyquist') diff --git a/keyboards/keebio/nyquist/info.json b/keyboards/keebio/nyquist/info.json index 43561a553f..449c779b69 100644 --- a/keyboards/keebio/nyquist/info.json +++ b/keyboards/keebio/nyquist/info.json @@ -1,6 +1,9 @@ { - "keyboard_name": "Nyquist", + "manufacturer": "Keebio", "maintainer": "qmk", + "usb": { + "vid": "0xCB10" + }, "layouts": { "LAYOUT": { "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}] diff --git a/keyboards/keebio/nyquist/rev1/config.h b/keyboards/keebio/nyquist/rev1/config.h index 47622ba1e9..02d5a0510e 100644 --- a/keyboards/keebio/nyquist/rev1/config.h +++ b/keyboards/keebio/nyquist/rev1/config.h @@ -17,13 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xCB10 -#define PRODUCT_ID 0x1156 -#define DEVICE_VER 0x0100 -#define MANUFACTURER Keebio -#define PRODUCT The Nyquist Keyboard - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/keebio/nyquist/rev1/info.json b/keyboards/keebio/nyquist/rev1/info.json new file mode 100644 index 0000000000..76affd233c --- /dev/null +++ b/keyboards/keebio/nyquist/rev1/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Nyquist Rev. 1", + "usb": { + "pid": "0x1156", + "device_version": "1.0.0" + } +} diff --git a/keyboards/keebio/nyquist/rev2/config.h b/keyboards/keebio/nyquist/rev2/config.h index e47110b8a5..82f4778992 100644 --- a/keyboards/keebio/nyquist/rev2/config.h +++ b/keyboards/keebio/nyquist/rev2/config.h @@ -17,13 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xCB10 -#define PRODUCT_ID 0x2156 -#define DEVICE_VER 0x0200 -#define MANUFACTURER Keebio -#define PRODUCT The Nyquist Keyboard - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/keebio/nyquist/rev2/info.json b/keyboards/keebio/nyquist/rev2/info.json new file mode 100644 index 0000000000..579fa5acb2 --- /dev/null +++ b/keyboards/keebio/nyquist/rev2/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Nyquist Rev. 2", + "usb": { + "pid": "0x2156", + "device_version": "2.0.0" + } +} diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h index 3536f5c629..8d70316b55 100644 --- a/keyboards/keebio/nyquist/rev3/config.h +++ b/keyboards/keebio/nyquist/rev3/config.h @@ -17,13 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xCB10 -#define PRODUCT_ID 0x3156 -#define DEVICE_VER 0x0300 -#define MANUFACTURER Keebio -#define PRODUCT The Nyquist Keyboard - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/keebio/nyquist/rev3/info.json b/keyboards/keebio/nyquist/rev3/info.json new file mode 100644 index 0000000000..1de3fe17c5 --- /dev/null +++ b/keyboards/keebio/nyquist/rev3/info.json @@ -0,0 +1,7 @@ +{ + "keyboard_name": "Nyquist Rev. 3", + "usb": { + "pid": "0x3156", + "device_version": "3.0.0" + } +} -- cgit v1.2.3