1a1b9ba026
Add support of TK40X
81 lines
3.1 KiB
JSON
81 lines
3.1 KiB
JSON
{
|
|
"keyboard_name": "tk40x",
|
|
"manufacturer": "lazydesigners",
|
|
"url": "http://lazydesigners.cn",
|
|
"maintainer": "lazydesigners",
|
|
"usb": {
|
|
"vid": "0x4C44",
|
|
"pid": "0x0032",
|
|
"device_version": "0.0.1"
|
|
},
|
|
"processor": "STM32F072",
|
|
"bootloader": "stm32-dfu",
|
|
"diode_direction": "COL2ROW",
|
|
"matrix_pins": {
|
|
"cols": [ "B10", "B8", "C15", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "B12" ],
|
|
"rows": ["B13", "B14", "A6", "A5"]
|
|
},
|
|
"encoder": {
|
|
"rotary": [
|
|
{"pin_a": "A8", "pin_b": "B15", "resolution": 1},
|
|
{"pin_a": "A10", "pin_b": "A9", "resolution": 1}
|
|
]
|
|
},
|
|
"features": {
|
|
"console": true,
|
|
"encoder": true,
|
|
"extrakey": true,
|
|
"mousekey": true,
|
|
"nkro": true
|
|
},
|
|
"bootmagic": {
|
|
"enabled": true,
|
|
"matrix": [0, 0]
|
|
},
|
|
"layouts": {
|
|
"LAYOUT": {
|
|
"layout": [
|
|
{"matrix": [0, 10], "x":0, "y":0},
|
|
{"matrix": [1, 10], "x":1, "y":0},
|
|
{"matrix": [0, 0], "x":0, "y":1.25},
|
|
{"matrix": [0, 1], "x":1, "y":1.25},
|
|
{"matrix": [0, 2], "x":2, "y":1.25},
|
|
{"matrix": [0, 3], "x":3, "y":1.25},
|
|
{"matrix": [0, 4], "x":4, "y":1.25},
|
|
{"matrix": [0, 5], "x":5, "y":1.25},
|
|
{"matrix": [0, 6], "x":6, "y":1.25},
|
|
{"matrix": [0, 7], "x":7, "y":1.25},
|
|
{"matrix": [0, 8], "x":8, "y":1.25},
|
|
{"matrix": [0, 9], "x":9, "y":1.25, "w":1.25},
|
|
{"matrix": [1, 0], "x":0, "y":2.25},
|
|
{"matrix": [1, 1], "x":1, "y":2.25},
|
|
{"matrix": [1, 2], "x":2, "y":2.25},
|
|
{"matrix": [1, 3], "x":3, "y":2.25},
|
|
{"matrix": [1, 4], "x":4, "y":2.25},
|
|
{"matrix": [1, 5], "x":5, "y":2.25},
|
|
{"matrix": [1, 6], "x":6, "y":2.25},
|
|
{"matrix": [1, 7], "x":7, "y":2.25},
|
|
{"matrix": [1, 8], "x":8, "y":2.25},
|
|
{"matrix": [1, 9], "x":9, "y":2.25, "w":1.25},
|
|
{"matrix": [2, 0], "x":0, "y":3.25},
|
|
{"matrix": [2, 1], "x":1, "y":3.25},
|
|
{"matrix": [2, 2], "x":2, "y":3.25},
|
|
{"matrix": [2, 3], "x":3, "y":3.25},
|
|
{"matrix": [2, 4], "x":4, "y":3.25},
|
|
{"matrix": [2, 5], "x":5, "y":3.25},
|
|
{"matrix": [2, 6], "x":6, "y":3.25},
|
|
{"matrix": [2, 7], "x":7, "y":3.25},
|
|
{"matrix": [2, 8], "x":8, "y":3.25},
|
|
{"matrix": [2, 9], "x":9, "y":3.25, "w":1.25},
|
|
{"matrix": [3, 0], "x":0, "y":4.25},
|
|
{"matrix": [3, 1], "x":1, "y":4.25},
|
|
{"matrix": [3, 2], "x":2, "y":4.25},
|
|
{"matrix": [3, 4], "x":3, "y":4.25, "w":2.25},
|
|
{"matrix": [3, 5], "x":5.25, "y":4.25, "w":2},
|
|
{"matrix": [3, 7], "x":7.25, "y":4.25},
|
|
{"matrix": [3, 8], "x":8.25, "y":4.25},
|
|
{"matrix": [3, 9], "x":9.25, "y":4.25}
|
|
]
|
|
}
|
|
}
|
|
}
|