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/kinesis/alvicstep/config.h | 4 ---- keyboards/kinesis/alvicstep/info.json | 9 +++++++++ keyboards/kinesis/config.h | 5 ----- keyboards/kinesis/info.json | 1 - keyboards/kinesis/kint2pp/config.h | 4 ---- keyboards/kinesis/kint2pp/info.json | 9 +++++++++ keyboards/kinesis/kint36/config.h | 12 ------------ keyboards/kinesis/kint36/info.json | 9 +++++++++ keyboards/kinesis/kint41/config.h | 12 ------------ keyboards/kinesis/kint41/info.json | 9 +++++++++ keyboards/kinesis/kintlc/config.h | 12 ------------ keyboards/kinesis/kintlc/info.json | 9 +++++++++ keyboards/kinesis/nguyenvietyen/config.h | 4 ---- keyboards/kinesis/nguyenvietyen/info.json | 9 +++++++++ keyboards/kinesis/stapelberg/config.h | 4 ---- keyboards/kinesis/stapelberg/info.json | 9 +++++++++ 16 files changed, 63 insertions(+), 58 deletions(-) create mode 100644 keyboards/kinesis/alvicstep/info.json create mode 100644 keyboards/kinesis/kint2pp/info.json create mode 100644 keyboards/kinesis/kint36/info.json create mode 100644 keyboards/kinesis/kint41/info.json create mode 100644 keyboards/kinesis/kintlc/info.json create mode 100644 keyboards/kinesis/nguyenvietyen/info.json create mode 100644 keyboards/kinesis/stapelberg/info.json (limited to 'keyboards/kinesis') diff --git a/keyboards/kinesis/alvicstep/config.h b/keyboards/kinesis/alvicstep/config.h index 8a656264ee..470b3ef4bc 100644 --- a/keyboards/kinesis/alvicstep/config.h +++ b/keyboards/kinesis/alvicstep/config.h @@ -3,10 +3,6 @@ #include "../config.h" #include "config_common.h" -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0001 - /* key matrix size */ #define MATRIX_ROWS 16 #define MATRIX_COLS 8 diff --git a/keyboards/kinesis/alvicstep/info.json b/keyboards/kinesis/alvicstep/info.json new file mode 100644 index 0000000000..1db31a0429 --- /dev/null +++ b/keyboards/kinesis/alvicstep/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Kinesis Classic/Advantage/Contoured", + "manufacturer": "QMK", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", + "device_version": "0.0.1" + } +} diff --git a/keyboards/kinesis/config.h b/keyboards/kinesis/config.h index 271625ebd1..aa42ade2a7 100644 --- a/keyboards/kinesis/config.h +++ b/keyboards/kinesis/config.h @@ -17,11 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define MANUFACTURER You -#define PRODUCT Kinesis Classic/Advantage/Contoured - // Mouse #define MOUSEKEY_DELAY 60 #define MOUSEKEY_INTERVAL 20 diff --git a/keyboards/kinesis/info.json b/keyboards/kinesis/info.json index 93259d06bf..5b9baafae4 100644 --- a/keyboards/kinesis/info.json +++ b/keyboards/kinesis/info.json @@ -1,5 +1,4 @@ { - "keyboard_name": "Kinesis", "url": "", "maintainer": "qmk", "layouts": { diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h index 54ba07d3d6..e2a3cc467e 100644 --- a/keyboards/kinesis/kint2pp/config.h +++ b/keyboards/kinesis/kint2pp/config.h @@ -1,9 +1,5 @@ #pragma once -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0002 - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 diff --git a/keyboards/kinesis/kint2pp/info.json b/keyboards/kinesis/kint2pp/info.json new file mode 100644 index 0000000000..b44abddfdf --- /dev/null +++ b/keyboards/kinesis/kint2pp/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Kinesis Classic/Advantage/Contoured", + "manufacturer": "QMK", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", + "device_version": "0.0.2" + } +} diff --git a/keyboards/kinesis/kint36/config.h b/keyboards/kinesis/kint36/config.h index 188c83345d..00aea7508d 100644 --- a/keyboards/kinesis/kint36/config.h +++ b/keyboards/kinesis/kint36/config.h @@ -16,18 +16,6 @@ #pragma once -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#define VENDOR_ID 0x1209 -#undef PRODUCT_ID -#define PRODUCT_ID 0x345C -#undef DEVICE_VER -#define DEVICE_VER 0x0001 -#undef MANUFACTURER -#define MANUFACTURER "https://github.com/stapelberg" -#undef PRODUCT -#define PRODUCT "kinT (kint36)" - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 diff --git a/keyboards/kinesis/kint36/info.json b/keyboards/kinesis/kint36/info.json new file mode 100644 index 0000000000..2fbfcc5661 --- /dev/null +++ b/keyboards/kinesis/kint36/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "kinT (kint36)", + "manufacturer": "https://github.com/stapelberg", + "usb": { + "vid": "0x1209", + "pid": "0x345C", + "device_version": "0.0.1" + } +} diff --git a/keyboards/kinesis/kint41/config.h b/keyboards/kinesis/kint41/config.h index 3e13e84606..934a8efbfb 100644 --- a/keyboards/kinesis/kint41/config.h +++ b/keyboards/kinesis/kint41/config.h @@ -16,18 +16,6 @@ #pragma once -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#define VENDOR_ID 0x1209 -#undef PRODUCT_ID -#define PRODUCT_ID 0x345C -#undef DEVICE_VER -#define DEVICE_VER 0x0001 -#undef MANUFACTURER -#define MANUFACTURER "https://github.com/stapelberg" -#undef PRODUCT -#define PRODUCT "kinT (kint41)" - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 diff --git a/keyboards/kinesis/kint41/info.json b/keyboards/kinesis/kint41/info.json new file mode 100644 index 0000000000..45481a5b84 --- /dev/null +++ b/keyboards/kinesis/kint41/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "kinT (kint41)", + "manufacturer": "https://github.com/stapelberg", + "usb": { + "vid": "0x1209", + "pid": "0x345C", + "device_version": "0.0.1" + } +} diff --git a/keyboards/kinesis/kintlc/config.h b/keyboards/kinesis/kintlc/config.h index 8e15fea479..72d4f88aac 100644 --- a/keyboards/kinesis/kintlc/config.h +++ b/keyboards/kinesis/kintlc/config.h @@ -16,18 +16,6 @@ #pragma once -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#define VENDOR_ID 0x1209 -#undef PRODUCT_ID -#define PRODUCT_ID 0x345C -#undef DEVICE_VER -#define DEVICE_VER 0x0001 -#undef MANUFACTURER -#define MANUFACTURER "https://github.com/stapelberg" -#undef PRODUCT -#define PRODUCT "kinT (kintlc)" - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 diff --git a/keyboards/kinesis/kintlc/info.json b/keyboards/kinesis/kintlc/info.json new file mode 100644 index 0000000000..721ebbfe82 --- /dev/null +++ b/keyboards/kinesis/kintlc/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "kinT (kintlc)", + "manufacturer": "https://github.com/stapelberg", + "usb": { + "vid": "0x1209", + "pid": "0x345C", + "device_version": "0.0.1" + } +} diff --git a/keyboards/kinesis/nguyenvietyen/config.h b/keyboards/kinesis/nguyenvietyen/config.h index f1b41e61bc..e1fe914eca 100644 --- a/keyboards/kinesis/nguyenvietyen/config.h +++ b/keyboards/kinesis/nguyenvietyen/config.h @@ -1,9 +1,5 @@ #pragma once -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0003 - /* key matrix size */ #define MATRIX_ROWS 16 #define MATRIX_COLS 8 diff --git a/keyboards/kinesis/nguyenvietyen/info.json b/keyboards/kinesis/nguyenvietyen/info.json new file mode 100644 index 0000000000..4035bb8e11 --- /dev/null +++ b/keyboards/kinesis/nguyenvietyen/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Kinesis Classic/Advantage/Contoured", + "manufacturer": "QMK", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", + "device_version": "0.0.3" + } +} diff --git a/keyboards/kinesis/stapelberg/config.h b/keyboards/kinesis/stapelberg/config.h index fe44131adb..62bff1cd16 100644 --- a/keyboards/kinesis/stapelberg/config.h +++ b/keyboards/kinesis/stapelberg/config.h @@ -3,10 +3,6 @@ #include "../config.h" #include "config_common.h" -/* USB Device descriptor parameter */ -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0002 - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 diff --git a/keyboards/kinesis/stapelberg/info.json b/keyboards/kinesis/stapelberg/info.json new file mode 100644 index 0000000000..b44abddfdf --- /dev/null +++ b/keyboards/kinesis/stapelberg/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "Kinesis Classic/Advantage/Contoured", + "manufacturer": "QMK", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", + "device_version": "0.0.2" + } +} -- cgit v1.2.1