qmk_firmware/keyboards/dailycraft/stickey4/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

39 lines
1.1 KiB
JSON

{
"keyboard_name": "stickey4",
"manufacturer": "yfuku",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x5946",
"pid": "0x0010",
"device_version": "0.0.1"
},
"encoder": {
"rotary": [
{"pin_a": "D4", "pin_b": "C6"},
{"pin_a": "D7", "pin_b": "E6"}
]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {
"direct": [
["D4", "C6", "D7", "E6", null, null, null, null]
]
},
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]},
{"label": "Encoder 1 CCW", "x": 0, "y": 1, "matrix": [0, 4]},
{"label": "Encoder 1 CW", "x": 1, "y": 1, "matrix": [0, 5]},
{"label": "Encoder 2 CCW", "x": 2, "y": 1, "matrix": [0, 6]},
{"label": "Encoder 2 CW", "x": 3, "y": 1, "matrix": [0, 7]}
]
}
}
}