qmk-firmware/keyboards/macro3/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

44 lines
1.2 KiB
JSON

{
"keyboard_name": "Macro3",
"manufacturer": "DPB",
"url": "https://github.com/davidphilipbarr/Macropads/tree/main/macro3",
"maintainer": "@davidphilipbarr",
"usb": {
"vid": "0xC88B",
"pid": "0x3388",
"device_version": "0.0.3"
},
"encoder": {
"rotary": [
{"pin_a": "D2", "pin_b": "D3"},
{"pin_a": "F7", "pin_b": "F6"}
]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {
"direct": [
["D7", "C6", "D4", "D1"],
["B1", "B4", "B5", "B3"]
]
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x4"
},
"layouts": {
"LAYOUT_ortho_2x4": {
"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]},
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 3, "y": 1, "matrix": [1, 3]}
]
}
}
}