mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 11:38:58 +06:00
7e0299117b
Co-authored-by: Nick Brassel <nick@tzarc.org>
40 lines
1.1 KiB
JSON
40 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]}
|
|
]
|
|
}
|
|
}
|
|
}
|