qmk-firmware/keyboards/doio/kb16/rev2/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

50 lines
1.4 KiB
JSON

{
"keyboard_name": "KB16-01",
"manufacturer": "DOIO",
"url": "",
"maintainer": "HorrorTroll",
"usb": {
"vid": "0xD010",
"pid": "0x1601",
"device_version": "0.0.2"
},
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B6"},
{"pin_a": "A1", "pin_b": "A2"},
{"pin_a": "A3", "pin_b": "A4"}
]
},
"layouts": {
"LAYOUT": {
"layout": [
{"label":"1!", "x":0, "y":0},
{"label":"2@", "x":1, "y":0},
{"label":"3#", "x":2, "y":0},
{"label":"4$", "x":3, "y":0},
{"label":"Encoder 1", "x":4.75, "y":0},
{"label":"5%", "x":0, "y":1},
{"label":"6^", "x":1, "y":1},
{"label":"7&", "x":2, "y":1},
{"label":"8*", "x":3, "y":1},
{"label":"Encoder 2", "x":6, "y":0},
{"label":"9(", "x":0, "y":2},
{"label":"0)", "x":1, "y":2},
{"label":"\u2191", "x":2, "y":2},
{"label":"Enter", "x":3, "y":2},
{"label":"Encoder 3", "x":5.375, "y":2.5},
{"label":"Fn", "x":0, "y":3},
{"label":"\u2190", "x":1, "y":3},
{"label":"\u2193", "x":2, "y":3},
{"label":"\u2192", "x":3, "y":3}
]
}
}
}