qmk_firmware/keyboards/doio/kb30/info.json
Ryan 7e0299117b
Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-02-26 09:45:12 +11:00

67 lines
2.2 KiB
JSON

{
"keyboard_name": "KB30-01",
"manufacturer": "DOIO",
"url": "",
"maintainer": "Alice",
"usb": {
"vid": "0xD010",
"pid": "0x3001",
"device_version": "0.0.1"
},
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B6"},
{"pin_a": "A1", "pin_b": "A2"},
{"pin_a": "A3", "pin_b": "A4", "resolution": 2}
]
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {
"LAYOUT": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":3, "y":0},
{"label":"K04", "x":4.25, "y":0},
{"label":"K05", "x":5.25, "y":0},
{"label":"K06", "x":6.25, "y":0},
{"label":"K10", "x":0, "y":1},
{"label":"K11", "x":1, "y":1},
{"label":"K12", "x":2, "y":1},
{"label":"K13", "x":3, "y":1, "h":2},
{"label":"K14", "x":4.25, "y":1},
{"label":"K15", "x":5.25, "y":1},
{"label":"K16", "x":6.25, "y":1},
{"label":"Encoder 1", "x":8.25, "y":2},
{"label":"K20", "x":0, "y":2},
{"label":"K21", "x":1, "y":2},
{"label":"K22", "x":2, "y":2},
{"label":"K23", "x":4.25, "y":2},
{"label":"K24", "x":5.25, "y":2},
{"label":"K25", "x":6.25, "y":2},
{"label":"Encoder 2", "x":11, "y":2},
{"label":"K30", "x":0, "y":3},
{"label":"K31", "x":1, "y":3},
{"label":"K32", "x":2, "y":3},
{"label":"K33", "x":4.25, "y":3, "h":2},
{"label":"K35", "x":5.25, "y":3},
{"label":"Encoder 3", "x":9, "y":4},
{"label":"K40", "x":0, "y":4, "w":2},
{"label":"K41", "x":2, "y":4},
{"label":"K42", "x":4.25, "y":4},
{"label":"K43", "x":5.25, "y":4},
{"label":"K44", "x":6.25, "y":4}
]
}
}
}