From b0eda7701a372e820264c6a78afa1f8c410845f7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 22 Aug 2022 08:08:50 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 3 (#18111) --- keyboards/handwired/tractyl_manuform/4x6_right/config.h | 4 ---- keyboards/handwired/tractyl_manuform/4x6_right/info.json | 6 +++++- keyboards/handwired/tractyl_manuform/5x6_right/config.h | 3 --- keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h | 2 -- keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json | 3 +++ keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h | 2 -- keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json | 3 +++ keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h | 2 -- keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json | 3 +++ keyboards/handwired/tractyl_manuform/5x6_right/info.json | 5 ++++- keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h | 2 -- keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json | 3 +++ keyboards/handwired/tractyl_manuform/config.h | 3 --- keyboards/handwired/tractyl_manuform/info.json | 5 ++++- 14 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json create mode 100644 keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json create mode 100644 keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json create mode 100644 keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json (limited to 'keyboards/handwired') diff --git a/keyboards/handwired/tractyl_manuform/4x6_right/config.h b/keyboards/handwired/tractyl_manuform/4x6_right/config.h index ab46bc5276..f6a784a4c8 100644 --- a/keyboards/handwired/tractyl_manuform/4x6_right/config.h +++ b/keyboards/handwired/tractyl_manuform/4x6_right/config.h @@ -20,10 +20,6 @@ along with this program. If not, see . #include "config_common.h" -#define PRODUCT_ID 0x3537 -#define DEVICE_VER 0x0001 -#define PRODUCT Tractyl Manuform(4x6) - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/handwired/tractyl_manuform/4x6_right/info.json b/keyboards/handwired/tractyl_manuform/4x6_right/info.json index 0681db1f3e..62b61072ec 100644 --- a/keyboards/handwired/tractyl_manuform/4x6_right/info.json +++ b/keyboards/handwired/tractyl_manuform/4x6_right/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "Tractyl Manuform 4x6", + "keyboard_name": "Tractyl Manuform (4x6)", "url": "", "maintainer": "drashna", + "usb": { + "pid": "0x3537", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_4x6_right": { "layout": [ diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/config.h index fc5037ae9d..53a2b41e06 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/config.h @@ -20,9 +20,6 @@ along with this program. If not, see . #include "config_common.h" -#define PRODUCT_ID 0x3536 -#define DEVICE_VER 0x0001 - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 12 diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h index d8d36e824c..486459560e 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once -#define PRODUCT Tractyl Manuform(5x6) Elite C - // wiring of each half #define MATRIX_COL_PINS \ { D4, D7, E6, B4, B5, B7 } diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json new file mode 100644 index 0000000000..b3cb5928de --- /dev/null +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Tractyl Manuform (5x6) Elite-C" +} diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h index f9a44587b0..312c271bb8 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once -#define PRODUCT Tractyl Manuform(5x6) Proton C - // wiring of each half #define MATRIX_COL_PINS \ { B0, B1, B2, B3, B4, B5 } diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json new file mode 100644 index 0000000000..d88708d17d --- /dev/null +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Tractyl Manuform (5x6) Proton-C" +} diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h index 5f0350810c..3fc1bc10a2 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once -#define PRODUCT Tractyl Manuform(5x6) BlackPill - // wiring of each half #define MATRIX_COL_PINS \ { A15, B3, B4, B5, B6, B7 } diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json new file mode 100644 index 0000000000..7466004165 --- /dev/null +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Tractyl Manuform (5x6) BlackPill" +} diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/info.json index 81a308fd21..5000486242 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/info.json @@ -1,6 +1,9 @@ { - "keyboard_name": "Tractyl Manuform 5x6", "url": "", + "usb": { + "pid": "0x3536", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_5x6_right": { "layout": [ diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h index 442d474920..57c2fd6fcd 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once -#define PRODUCT Tractyl Manuform(5x6) Teensy 2.0 ++ - // wiring of each half #define MATRIX_COL_PINS \ { C0, C1, C2, C3, C4, C5 } diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json new file mode 100644 index 0000000000..dfdbc435bc --- /dev/null +++ b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json @@ -0,0 +1,3 @@ +{ + "keyboard_name": "Tractyl Manuform (5x6) Teensy 2.0++" +} diff --git a/keyboards/handwired/tractyl_manuform/config.h b/keyboards/handwired/tractyl_manuform/config.h index 845125c5cd..6f62685f4e 100644 --- a/keyboards/handwired/tractyl_manuform/config.h +++ b/keyboards/handwired/tractyl_manuform/config.h @@ -20,9 +20,6 @@ along with this program. If not, see . #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x44DD - /* disable debug print */ // #define NO_DEBUG diff --git a/keyboards/handwired/tractyl_manuform/info.json b/keyboards/handwired/tractyl_manuform/info.json index 7214e6773b..c84d008e15 100644 --- a/keyboards/handwired/tractyl_manuform/info.json +++ b/keyboards/handwired/tractyl_manuform/info.json @@ -1,4 +1,7 @@ { "manufacturer": "QMK Community", - "maintainer": "Drashna Jael're" + "maintainer": "Drashna Jael're", + "usb": { + "vid": "0x44DD" + } } -- cgit v1.2.1