Move keyboard USB IDs and strings to data driven, pass 2: S-Y (#18093)
This commit is contained in:
parent
f4dcce7e59
commit
201f1a8f47
119 changed files with 351 additions and 386 deletions
|
@ -22,6 +22,3 @@
|
|||
// rows are inputs). Note that every usable I/O pin is used.
|
||||
#define MATRIX_COL_PINS { B0, B1, B10, B12, B13, B14, B15, A8, A7, A10, A6, A5, A15, B3, B4, B5, B6, B7, B8, B9 }
|
||||
#define MATRIX_ROW_PINS { C13, C14, C15, A0, A1, A2, A3, A4 }
|
||||
|
||||
// The BlackPill version is version 2
|
||||
#define DEVICE_VER 0x0002
|
||||
|
|
5
keyboards/tronguylabs/m122_3270/blackpill/info.json
Normal file
5
keyboards/tronguylabs/m122_3270/blackpill/info.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"usb": {
|
||||
"device_version": "0.0.2"
|
||||
}
|
||||
}
|
|
@ -24,6 +24,3 @@
|
|||
// rows are inputs). Note that every usable I/O pin is used.
|
||||
#define MATRIX_COL_PINS { B1, B10, B11, B12, B13, B14, B15, A8, B0, A10, A7, A6, A15, B3, B4, B5, B6, B7, B8, B9 }
|
||||
#define MATRIX_ROW_PINS { C13, C14, C15, A1, A2, A3, A4, A5 }
|
||||
|
||||
// The BluePill version is version 3
|
||||
#define DEVICE_VER 0x0003
|
||||
|
|
5
keyboards/tronguylabs/m122_3270/bluepill/info.json
Normal file
5
keyboards/tronguylabs/m122_3270/bluepill/info.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"usb": {
|
||||
"device_version": "0.0.3"
|
||||
}
|
||||
}
|
|
@ -18,11 +18,6 @@
|
|||
|
||||
#include "config_common.h"
|
||||
|
||||
#define VENDOR_ID 0x1209
|
||||
#define PRODUCT_ID 0x3270
|
||||
#define MANUFACTURER IBM
|
||||
#define PRODUCT Model M PC/3270 122 key
|
||||
|
||||
// Both controllers draw 100 mA or less
|
||||
#define USB_MAX_POWER_CONSUMPTION 100
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{
|
||||
"keyboard_name": "IBM Model M PC/3270 122 key",
|
||||
"keyboard_name": "Model M PC/3270 122 key",
|
||||
"manufacturer": "IBM",
|
||||
"maintainer": "jmaynard",
|
||||
"usb": {
|
||||
"vid": "0x1209",
|
||||
"pid": "0x3270"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -20,6 +20,3 @@
|
|||
// avoiding the LED on PD6
|
||||
#define MATRIX_COL_PINS { B5, B6, B7, D0, D1, D2, D3, D4, D5, D7, E0, E1, C0, C1, C2, C3, C4, C5, C6, C7 }
|
||||
#define MATRIX_ROW_PINS { F0, F1, F2, F3, F4, F5, F6, F7 }
|
||||
|
||||
// The Teensy version is version 1
|
||||
#define DEVICE_VER 0x0001
|
||||
|
|
5
keyboards/tronguylabs/m122_3270/teensy/info.json
Normal file
5
keyboards/tronguylabs/m122_3270/teensy/info.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"usb": {
|
||||
"device_version": "0.0.1"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue