Move keyboard USB IDs and strings to data driven, pass 3 (#18111)

This commit is contained in:
Ryan 2022-08-22 08:08:50 +10:00 committed by GitHub
parent 3c0806a489
commit b0eda7701a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
64 changed files with 152 additions and 114 deletions

View File

@ -23,12 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x1209
#define PRODUCT_ID 0x0002
#define DEVICE_VER 0x0001
#define PRODUCT BAJJAK
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 14 #define MATRIX_ROWS 14
#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2) #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)

View File

@ -1,6 +1,12 @@
{ {
"keyboard_name": "bajjak", "keyboard_name": "BAJJAK",
"manufacturer": "garykong",
"maintainer": "garykong", "maintainer": "garykong",
"usb": {
"vid": "0x1209",
"pid": "0x0002",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_6x7": { "LAYOUT_6x7": {
"layout": [ "layout": [

View File

@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0010
/* Column/Row IO definitions */ /* Column/Row IO definitions */
#define MATRIX_ROWS 4 #define MATRIX_ROWS 4
#define MATRIX_COLS 5 #define MATRIX_COLS 5

View File

@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
#define PRODUCT_ID 0x3537
#define DEVICE_VER 0x0001
#define PRODUCT Tractyl Manuform(4x6)
/* key matrix size */ /* key matrix size */
// Rows are doubled-up // Rows are doubled-up
#define MATRIX_ROWS 10 #define MATRIX_ROWS 10

View File

@ -1,7 +1,11 @@
{ {
"keyboard_name": "Tractyl Manuform 4x6", "keyboard_name": "Tractyl Manuform (4x6)",
"url": "", "url": "",
"maintainer": "drashna", "maintainer": "drashna",
"usb": {
"pid": "0x3537",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_4x6_right": { "LAYOUT_4x6_right": {
"layout": [ "layout": [

View File

@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
#define PRODUCT_ID 0x3536
#define DEVICE_VER 0x0001
/* key matrix size */ /* key matrix size */
// Rows are doubled-up // Rows are doubled-up
#define MATRIX_ROWS 12 #define MATRIX_ROWS 12

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define PRODUCT Tractyl Manuform(5x6) Elite C
// wiring of each half // wiring of each half
#define MATRIX_COL_PINS \ #define MATRIX_COL_PINS \
{ D4, D7, E6, B4, B5, B7 } { D4, D7, E6, B4, B5, B7 }

View File

@ -0,0 +1,3 @@
{
"keyboard_name": "Tractyl Manuform (5x6) Elite-C"
}

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define PRODUCT Tractyl Manuform(5x6) Proton C
// wiring of each half // wiring of each half
#define MATRIX_COL_PINS \ #define MATRIX_COL_PINS \
{ B0, B1, B2, B3, B4, B5 } { B0, B1, B2, B3, B4, B5 }

View File

@ -0,0 +1,3 @@
{
"keyboard_name": "Tractyl Manuform (5x6) Proton-C"
}

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define PRODUCT Tractyl Manuform(5x6) BlackPill
// wiring of each half // wiring of each half
#define MATRIX_COL_PINS \ #define MATRIX_COL_PINS \
{ A15, B3, B4, B5, B6, B7 } { A15, B3, B4, B5, B6, B7 }

View File

@ -0,0 +1,3 @@
{
"keyboard_name": "Tractyl Manuform (5x6) BlackPill"
}

View File

@ -1,6 +1,9 @@
{ {
"keyboard_name": "Tractyl Manuform 5x6",
"url": "", "url": "",
"usb": {
"pid": "0x3536",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_5x6_right": { "LAYOUT_5x6_right": {
"layout": [ "layout": [

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define PRODUCT Tractyl Manuform(5x6) Teensy 2.0 ++
// wiring of each half // wiring of each half
#define MATRIX_COL_PINS \ #define MATRIX_COL_PINS \
{ C0, C1, C2, C3, C4, C5 } { C0, C1, C2, C3, C4, C5 }

View File

@ -0,0 +1,3 @@
{
"keyboard_name": "Tractyl Manuform (5x6) Teensy 2.0++"
}

View File

@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x44DD
/* disable debug print */ /* disable debug print */
// #define NO_DEBUG // #define NO_DEBUG

View File

@ -1,4 +1,7 @@
{ {
"manufacturer": "QMK Community", "manufacturer": "QMK Community",
"maintainer": "Drashna Jael're" "maintainer": "Drashna Jael're",
"usb": {
"vid": "0x44DD"
}
} }

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
#define DEVICE_VER 0x0001
/* key matrix pins */ /* key matrix pins */
#define MATRIX_ROW_PINS { C7, B6, B4, D7, D6 } #define MATRIX_ROW_PINS { C7, B6, B4, D7, D6 }
#define MATRIX_COL_PINS { D4, D5, D3, B7 } #define MATRIX_COL_PINS { D4, D5, D3, B7 }

View File

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
#define DEVICE_VER 0x0002
/* key matrix pins */ /* key matrix pins */
#define MATRIX_ROW_PINS { F4, F6, D7, B4, D6 } #define MATRIX_ROW_PINS { F4, F6, D7, B4, D6 }
#define MATRIX_COL_PINS { F7, F5, D3, B7 } #define MATRIX_COL_PINS { F7, F5, D3, B7 }

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0002
#undef MATRIX_ROW_PINS #undef MATRIX_ROW_PINS
#undef MATRIX_COL_PINS #undef MATRIX_COL_PINS

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0003
#undef MATRIX_ROW_PINS #undef MATRIX_ROW_PINS
#undef MATRIX_COL_PINS #undef MATRIX_COL_PINS

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.3"
}
}

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0003
#undef MATRIX_ROW_PINS #undef MATRIX_ROW_PINS
#undef MATRIX_COL_PINS #undef MATRIX_COL_PINS

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.3"
}
}

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0001
#define MATRIX_ROW_PINS { B6, B3, B1, D6, B7, B5, D1 } #define MATRIX_ROW_PINS { B6, B3, B1, D6, B7, B5, D1 }
#define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0, F7, F6, F5, F4, F1, F0 } #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0, F7, F6, F5, F4, F1, F0 }
#define UNUSED_PINS { C7 } #define UNUSED_PINS { C7 }

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View File

@ -18,13 +18,6 @@
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x4B50 // 'KP' kopibeng
#define PRODUCT_ID 0x0601
#define DEVICE_VER 0x0001
#define MANUFACTURER kopibeng
#define PRODUCT XT60_SINGA
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 5 #define MATRIX_ROWS 5
#define MATRIX_COLS 14 #define MATRIX_COLS 14

View File

@ -1,7 +1,13 @@
{ {
"keyboard_name": "XT60_SINGA", "keyboard_name": "XT60_SINGA",
"maintainer": "Kopibeng", "manufacturer": "kopibeng",
"url": "", "url": "",
"maintainer": "Kopibeng",
"usb": {
"vid": "0x4B50",
"pid": "0x0601",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_all": {
"layout": [ "layout": [

View File

@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xEED3
#define DEVICE_VER 0x0101
#define MANUFACTURER "Massdrop Inc." #define MANUFACTURER "Massdrop Inc."
#define PRODUCT "ALT Keyboard" #define PRODUCT "ALT Keyboard"
#define SERIAL_NUM "Unavailable" #define SERIAL_NUM "Unavailable"

View File

@ -2,6 +2,11 @@
"keyboard_name": "ALT", "keyboard_name": "ALT",
"url": "https://www.massdrop.com/buy/massdrop-alt-mechanical-keyboard", "url": "https://www.massdrop.com/buy/massdrop-alt-mechanical-keyboard",
"maintainer": "Massdrop", "maintainer": "Massdrop",
"usb": {
"vid": "0x04D8",
"pid": "0xEED3",
"device_version": "1.0.1"
},
"layouts": { "layouts": {
"LAYOUT_65_ansi_blocker": { "LAYOUT_65_ansi_blocker": {
"layout": [ "layout": [

View File

@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xEED2
#define DEVICE_VER 0x0101
#define MANUFACTURER "Massdrop Inc." #define MANUFACTURER "Massdrop Inc."
#define PRODUCT "CTRL Keyboard" #define PRODUCT "CTRL Keyboard"
#define SERIAL_NUM "Unavailable" #define SERIAL_NUM "Unavailable"

View File

@ -2,6 +2,11 @@
"keyboard_name": "CTRL", "keyboard_name": "CTRL",
"url": "https://www.massdrop.com/buy/massdrop-ctrl-mechanical-keyboard", "url": "https://www.massdrop.com/buy/massdrop-ctrl-mechanical-keyboard",
"maintainer": "Massdrop", "maintainer": "Massdrop",
"usb": {
"vid": "0x04D8",
"pid": "0xEED2",
"device_version": "1.0.1"
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -5,13 +5,6 @@
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x6D77 // mw = "MechWild"
#define PRODUCT_ID 0x170F
#define DEVICE_VER 0x0100
#define MANUFACTURER MechWild
#define PRODUCT PuckBuddy
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 4 #define MATRIX_ROWS 4
#define MATRIX_COLS 4 #define MATRIX_COLS 4

View File

@ -1,7 +1,13 @@
{ {
"keyboard_name": "MechWild PuckBuddy", "keyboard_name": "PuckBuddy",
"manufacturer": "MechWild",
"url": "mechwild.com", "url": "mechwild.com",
"maintainer": "kylemccreery", "maintainer": "kylemccreery",
"usb": {
"vid": "0x6D77",
"pid": "0x170F",
"device_version": "1.0.0"
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x4B49
#define PRODUCT_ID 0x1306
#define DEVICE_VER 0x0001
#define PRODUCT Index Tab
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 6 #define MATRIX_ROWS 6
#define MATRIX_COLS 13 #define MATRIX_COLS 13

View File

@ -1,10 +1,14 @@
{ {
"keyboard_name": "Index Tab", "keyboard_name": "Index Tab",
"maintainer": "kyrremann",
"url": "https://github.com/Kyrremann/index-tab", "url": "https://github.com/Kyrremann/index-tab",
"layout_aliases": { "layout_aliases": {
"LAYOUT": "LAYOUT_ortho_6x13" "LAYOUT": "LAYOUT_ortho_6x13"
}, },
"usb": {
"vid": "0x4B49",
"pid": "0x1306",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_ortho_6x13": { "LAYOUT_ortho_6x13": {
"layout": [ "layout": [

View File

@ -17,10 +17,6 @@
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0001
#define PRODUCT Grandiceps Split
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 10 #define MATRIX_ROWS 10
#define MATRIX_COLS 6 #define MATRIX_COLS 6

View File

@ -17,7 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0001
#define MATRIX_ROW_PINS { C7, C6, B6, B5, B7} #define MATRIX_ROW_PINS { C7, C6, B6, B5, B7}
#define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, F0} #define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, F0}

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View File

@ -17,7 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define DEVICE_VER 0x0002
#define MATRIX_ROW_PINS { C7, C6, B6, B5, B7} #define MATRIX_ROW_PINS { C7, C6, B6, B5, B7}
#define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, B0} #define MATRIX_COL_PINS { D3, D2, D1, D0, D5, F7, F6, E6, F5, F4, F1, B0}

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}

View File

@ -18,13 +18,6 @@
#include "config_common.h" #include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x480E
#define PRODUCT_ID 0x408F
#define DEVICE_VER 0x0001
#define MANUFACTURER Vertex_eason
#define PRODUCT Angler2
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 6 #define MATRIX_ROWS 6
#define MATRIX_COLS 16 #define MATRIX_COLS 16

View File

@ -1,7 +1,13 @@
{ {
"keyboard_name": "angler2", "keyboard_name": "Angler2",
"manufacturer": "Vertex_eason",
"url": "https://github.com/Vertex-kb", "url": "https://github.com/Vertex-kb",
"maintainer": "vertex", "maintainer": "vertex",
"usb": {
"vid": "0x480E",
"pid": "0x408F",
"device_version": "0.0.1"
},
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_all": {
"layout": [ "layout": [

View File

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS #define EE_HANDS
#define SOFT_SERIAL_PIN D0 #define SOFT_SERIAL_PIN D0
/* USB Device descriptor parameters */
#define DEVICE_VER 0x0001
/* key matrix size */ /* key matrix size */
// Rows are doubled-up // Rows are doubled-up
#define MATRIX_ROWS 8 #define MATRIX_ROWS 8

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View File

@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_HAND_PIN B4 #define SPLIT_HAND_PIN B4
#define SOFT_SERIAL_PIN D0 #define SOFT_SERIAL_PIN D0
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0002
/* key matrix size */ /* key matrix size */
// Rows are doubled-up // Rows are doubled-up
#define MATRIX_ROWS 8 #define MATRIX_ROWS 8

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}

View File

@ -1,12 +1,10 @@
{ {
"keyboard_name": "Valor FRL TKL",
"manufacturer": "Xelus", "manufacturer": "Xelus",
"url": "", "url": "",
"maintainer": "Xelus22", "maintainer": "Xelus22",
"usb": { "usb": {
"vid": "0x5845", "vid": "0x5845",
"pid": "0x4654", "pid": "0x4654"
"device_version": "0.0.1"
}, },
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_all": {

View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Valor FRL TKL Rev1",
"usb": {
"device_version": "0.0.1"
}
}

View File

@ -16,10 +16,6 @@
#pragma once #pragma once
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0002
#define PRODUCT Xelus Valor FRL TKL Rev2.0
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 5 #define MATRIX_ROWS 5
#define MATRIX_COLS 17 #define MATRIX_COLS 17

View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Valor FRL TKL Rev2.0",
"usb": {
"device_version": "0.0.2"
}
}

View File

@ -16,10 +16,6 @@
#pragma once #pragma once
/* USB Device descriptor parameter */
#define DEVICE_VER 0x0003
#define PRODUCT Xelus Valor FRL TKL Rev2.1
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 5 #define MATRIX_ROWS 5
#define MATRIX_COLS 17 #define MATRIX_COLS 17

View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Valor FRL TKL Rev2.2",
"usb": {
"device_version": "0.0.3"
}
}

View File

@ -1,5 +1,3 @@
#pragma once #pragma once
#define DEVICE_VER 0x0001
#define RGBLED_NUM 12 #define RGBLED_NUM 12

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View File

@ -1,5 +1,3 @@
#pragma once #pragma once
#define DEVICE_VER 0x0002
#define RGBLED_NUM 16 #define RGBLED_NUM 16

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}

View File

@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4 #define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define DEVICE_VER 0x0100

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "1.0.0"
}
}

View File

@ -7,4 +7,3 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4 #define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define DEVICE_VER 0x0200

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "2.0.0"
}
}

View File

@ -6,5 +6,4 @@
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3 #define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3
#define DIODE_DIRECTION ROW2COL #define DIODE_DIRECTION ROW2COL
#define DEVICE_VER 0x0300
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4

View File

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "3.0.0"
}
}