1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/hnah108/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

365 lines
14 KiB
JSON

{
"keyboard_name": "Hnah108",
"manufacturer": "HnahKB",
"url": "",
"maintainer": "HnahKB",
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"device_version": "0.0.2"
},
"encoder": {
"rotary": [
{"pin_a": "B2", "pin_b": "B3"}
]
},
"backlight": {
"pin": "B7",
"levels": 4,
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_all": {
"layout": [
{"x": 0, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4, "y": 0},
{"x": 5, "y": 0},
{"x": 6.5, "y": 0},
{"x": 7.5, "y": 0},
{"x": 8.5, "y": 0},
{"x": 9.5, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 15.25, "y": 0},
{"x": 16.25, "y": 0},
{"x": 17.25, "y": 0},
{"x": 18.5, "y": 0},
{"x": 19.5, "y": 0},
{"x": 20.5, "y": 0},
{"x": 21.5, "y": 0},
{"x": 0, "y": 1.25},
{"x": 1, "y": 1.25},
{"x": 2, "y": 1.25},
{"x": 3, "y": 1.25},
{"x": 4, "y": 1.25},
{"x": 5, "y": 1.25},
{"x": 6, "y": 1.25},
{"x": 7, "y": 1.25},
{"x": 8, "y": 1.25},
{"x": 9, "y": 1.25},
{"x": 10, "y": 1.25},
{"x": 11, "y": 1.25},
{"x": 12, "y": 1.25},
{"x": 13, "y": 1.25, "w": 2},
{"x": 15.25, "y": 1.25},
{"x": 16.25, "y": 1.25},
{"x": 17.25, "y": 1.25},
{"x": 18.5, "y": 1.25},
{"x": 19.5, "y": 1.25},
{"x": 20.5, "y": 1.25},
{"x": 21.5, "y": 1.25},
{"x": 0, "y": 2.25, "w": 1.5},
{"x": 1.5, "y": 2.25},
{"x": 2.5, "y": 2.25},
{"x": 3.5, "y": 2.25},
{"x": 4.5, "y": 2.25},
{"x": 5.5, "y": 2.25},
{"x": 6.5, "y": 2.25},
{"x": 7.5, "y": 2.25},
{"x": 8.5, "y": 2.25},
{"x": 9.5, "y": 2.25},
{"x": 10.5, "y": 2.25},
{"x": 11.5, "y": 2.25},
{"x": 12.5, "y": 2.25},
{"x": 13.5, "y": 2.25, "w": 1.5},
{"x": 15.25, "y": 2.25},
{"x": 16.25, "y": 2.25},
{"x": 17.25, "y": 2.25},
{"x": 18.5, "y": 2.25},
{"x": 19.5, "y": 2.25},
{"x": 20.5, "y": 2.25},
{"x": 21.5, "y": 2.25, "h": 2},
{"x": 0, "y": 3.25, "w": 1.75},
{"x": 1.75, "y": 3.25},
{"x": 2.75, "y": 3.25},
{"x": 3.75, "y": 3.25},
{"x": 4.75, "y": 3.25},
{"x": 5.75, "y": 3.25},
{"x": 6.75, "y": 3.25},
{"x": 7.75, "y": 3.25},
{"x": 8.75, "y": 3.25},
{"x": 9.75, "y": 3.25},
{"x": 10.75, "y": 3.25},
{"x": 11.75, "y": 3.25},
{"x": 12.75, "y": 3.25},
{"x": 13.75, "y": 3.25, "w": 1.25},
{"x": 18.5, "y": 3.25},
{"x": 19.5, "y": 3.25},
{"x": 20.5, "y": 3.25},
{"x": 0, "y": 4.25, "w": 1.25},
{"x": 1.25, "y": 4.25},
{"x": 2.25, "y": 4.25},
{"x": 3.25, "y": 4.25},
{"x": 4.25, "y": 4.25},
{"x": 5.25, "y": 4.25},
{"x": 6.25, "y": 4.25},
{"x": 7.25, "y": 4.25},
{"x": 8.25, "y": 4.25},
{"x": 9.25, "y": 4.25},
{"x": 10.25, "y": 4.25},
{"x": 11.25, "y": 4.25},
{"x": 12.25, "y": 4.25, "w": 2.75},
{"x": 16.25, "y": 4.25},
{"x": 18.5, "y": 4.25},
{"x": 19.5, "y": 4.25},
{"x": 20.5, "y": 4.25},
{"x": 21.5, "y": 4.25, "h": 2},
{"x": 0, "y": 5.25, "w": 1.25},
{"x": 1.25, "y": 5.25, "w": 1.25},
{"x": 2.5, "y": 5.25, "w": 1.25},
{"x": 3.75, "y": 5.25, "w": 6.25},
{"x": 10, "y": 5.25, "w": 1.25},
{"x": 11.25, "y": 5.25, "w": 1.25},
{"x": 12.5, "y": 5.25, "w": 1.25},
{"x": 13.75, "y": 5.25, "w": 1.25},
{"x": 15.25, "y": 5.25},
{"x": 16.25, "y": 5.25},
{"x": 17.25, "y": 5.25},
{"x": 18.5, "y": 5.25, "w": 2},
{"x": 20.5, "y": 5.25}
]
},
"LAYOUT_fullsize_iso": {
"layout": [
{"x": 0, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4, "y": 0},
{"x": 5, "y": 0},
{"x": 6.5, "y": 0},
{"x": 7.5, "y": 0},
{"x": 8.5, "y": 0},
{"x": 9.5, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 15.25, "y": 0},
{"x": 16.25, "y": 0},
{"x": 17.25, "y": 0},
{"x": 18.5, "y": 0},
{"x": 19.5, "y": 0},
{"x": 20.5, "y": 0},
{"x": 21.5, "y": 0},
{"x": 0, "y": 1.25},
{"x": 1, "y": 1.25},
{"x": 2, "y": 1.25},
{"x": 3, "y": 1.25},
{"x": 4, "y": 1.25},
{"x": 5, "y": 1.25},
{"x": 6, "y": 1.25},
{"x": 7, "y": 1.25},
{"x": 8, "y": 1.25},
{"x": 9, "y": 1.25},
{"x": 10, "y": 1.25},
{"x": 11, "y": 1.25},
{"x": 12, "y": 1.25},
{"x": 13, "y": 1.25, "w": 2},
{"x": 15.25, "y": 1.25},
{"x": 16.25, "y": 1.25},
{"x": 17.25, "y": 1.25},
{"x": 18.5, "y": 1.25},
{"x": 19.5, "y": 1.25},
{"x": 20.5, "y": 1.25},
{"x": 21.5, "y": 1.25},
{"x": 0, "y": 2.25, "w": 1.5},
{"x": 1.5, "y": 2.25},
{"x": 2.5, "y": 2.25},
{"x": 3.5, "y": 2.25},
{"x": 4.5, "y": 2.25},
{"x": 5.5, "y": 2.25},
{"x": 6.5, "y": 2.25},
{"x": 7.5, "y": 2.25},
{"x": 8.5, "y": 2.25},
{"x": 9.5, "y": 2.25},
{"x": 10.5, "y": 2.25},
{"x": 11.5, "y": 2.25},
{"x": 12.5, "y": 2.25},
{"x": 13.75, "y": 2.25, "w": 1.25, "h": 2},
{"x": 15.25, "y": 2.25},
{"x": 16.25, "y": 2.25},
{"x": 17.25, "y": 2.25},
{"x": 18.5, "y": 2.25},
{"x": 19.5, "y": 2.25},
{"x": 20.5, "y": 2.25},
{"x": 21.5, "y": 2.25, "h": 2},
{"x": 0, "y": 3.25, "w": 1.75},
{"x": 1.75, "y": 3.25},
{"x": 2.75, "y": 3.25},
{"x": 3.75, "y": 3.25},
{"x": 4.75, "y": 3.25},
{"x": 5.75, "y": 3.25},
{"x": 6.75, "y": 3.25},
{"x": 7.75, "y": 3.25},
{"x": 8.75, "y": 3.25},
{"x": 9.75, "y": 3.25},
{"x": 10.75, "y": 3.25},
{"x": 11.75, "y": 3.25},
{"x": 12.75, "y": 3.25},
{"x": 18.5, "y": 3.25},
{"x": 19.5, "y": 3.25},
{"x": 20.5, "y": 3.25},
{"x": 0, "y": 4.25, "w": 1.25},
{"x": 1.25, "y": 4.25},
{"x": 2.25, "y": 4.25},
{"x": 3.25, "y": 4.25},
{"x": 4.25, "y": 4.25},
{"x": 5.25, "y": 4.25},
{"x": 6.25, "y": 4.25},
{"x": 7.25, "y": 4.25},
{"x": 8.25, "y": 4.25},
{"x": 9.25, "y": 4.25},
{"x": 10.25, "y": 4.25},
{"x": 11.25, "y": 4.25},
{"x": 12.25, "y": 4.25, "w": 2.75},
{"x": 16.25, "y": 4.25},
{"x": 18.5, "y": 4.25},
{"x": 19.5, "y": 4.25},
{"x": 20.5, "y": 4.25},
{"x": 21.5, "y": 4.25, "h": 2},
{"x": 0, "y": 5.25, "w": 1.25},
{"x": 1.25, "y": 5.25, "w": 1.25},
{"x": 2.5, "y": 5.25, "w": 1.25},
{"x": 3.75, "y": 5.25, "w": 6.25},
{"x": 10, "y": 5.25, "w": 1.25},
{"x": 11.25, "y": 5.25, "w": 1.25},
{"x": 12.5, "y": 5.25, "w": 1.25},
{"x": 13.75, "y": 5.25, "w": 1.25},
{"x": 15.25, "y": 5.25},
{"x": 16.25, "y": 5.25},
{"x": 17.25, "y": 5.25},
{"x": 18.5, "y": 5.25, "w": 2},
{"x": 20.5, "y": 5.25}
]
},
"LAYOUT_fullsize_ansi": {
"layout": [
{"x": 0, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4, "y": 0},
{"x": 5, "y": 0},
{"x": 6.5, "y": 0},
{"x": 7.5, "y": 0},
{"x": 8.5, "y": 0},
{"x": 9.5, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 15.25, "y": 0},
{"x": 16.25, "y": 0},
{"x": 17.25, "y": 0},
{"x": 18.5, "y": 0},
{"x": 19.5, "y": 0},
{"x": 20.5, "y": 0},
{"x": 21.5, "y": 0},
{"x": 0, "y": 1.25},
{"x": 1, "y": 1.25},
{"x": 2, "y": 1.25},
{"x": 3, "y": 1.25},
{"x": 4, "y": 1.25},
{"x": 5, "y": 1.25},
{"x": 6, "y": 1.25},
{"x": 7, "y": 1.25},
{"x": 8, "y": 1.25},
{"x": 9, "y": 1.25},
{"x": 10, "y": 1.25},
{"x": 11, "y": 1.25},
{"x": 12, "y": 1.25},
{"x": 13, "y": 1.25, "w": 2},
{"x": 15.25, "y": 1.25},
{"x": 16.25, "y": 1.25},
{"x": 17.25, "y": 1.25},
{"x": 18.5, "y": 1.25},
{"x": 19.5, "y": 1.25},
{"x": 20.5, "y": 1.25},
{"x": 21.5, "y": 1.25},
{"x": 0, "y": 2.25, "w": 1.5},
{"x": 1.5, "y": 2.25},
{"x": 2.5, "y": 2.25},
{"x": 3.5, "y": 2.25},
{"x": 4.5, "y": 2.25},
{"x": 5.5, "y": 2.25},
{"x": 6.5, "y": 2.25},
{"x": 7.5, "y": 2.25},
{"x": 8.5, "y": 2.25},
{"x": 9.5, "y": 2.25},
{"x": 10.5, "y": 2.25},
{"x": 11.5, "y": 2.25},
{"x": 12.5, "y": 2.25},
{"x": 13.5, "y": 2.25, "w": 1.5},
{"x": 15.25, "y": 2.25},
{"x": 16.25, "y": 2.25},
{"x": 17.25, "y": 2.25},
{"x": 18.5, "y": 2.25},
{"x": 19.5, "y": 2.25},
{"x": 20.5, "y": 2.25},
{"x": 21.5, "y": 2.25, "h": 2},
{"x": 0, "y": 3.25, "w": 1.75},
{"x": 1.75, "y": 3.25},
{"x": 2.75, "y": 3.25},
{"x": 3.75, "y": 3.25},
{"x": 4.75, "y": 3.25},
{"x": 5.75, "y": 3.25},
{"x": 6.75, "y": 3.25},
{"x": 7.75, "y": 3.25},
{"x": 8.75, "y": 3.25},
{"x": 9.75, "y": 3.25},
{"x": 10.75, "y": 3.25},
{"x": 11.75, "y": 3.25},
{"x": 12.75, "y": 3.25, "w": 2.25},
{"x": 18.5, "y": 3.25},
{"x": 19.5, "y": 3.25},
{"x": 20.5, "y": 3.25},
{"x": 0, "y": 4.25, "w": 2.25},
{"x": 2.25, "y": 4.25},
{"x": 3.25, "y": 4.25},
{"x": 4.25, "y": 4.25},
{"x": 5.25, "y": 4.25},
{"x": 6.25, "y": 4.25},
{"x": 7.25, "y": 4.25},
{"x": 8.25, "y": 4.25},
{"x": 9.25, "y": 4.25},
{"x": 10.25, "y": 4.25},
{"x": 11.25, "y": 4.25},
{"x": 12.25, "y": 4.25, "w": 2.75},
{"x": 16.25, "y": 4.25},
{"x": 18.5, "y": 4.25},
{"x": 19.5, "y": 4.25},
{"x": 20.5, "y": 4.25},
{"x": 21.5, "y": 4.25, "h": 2},
{"x": 0, "y": 5.25, "w": 1.25},
{"x": 1.25, "y": 5.25, "w": 1.25},
{"x": 2.5, "y": 5.25, "w": 1.25},
{"x": 3.75, "y": 5.25, "w": 6.25},
{"x": 10, "y": 5.25, "w": 1.25},
{"x": 11.25, "y": 5.25, "w": 1.25},
{"x": 12.5, "y": 5.25, "w": 1.25},
{"x": 13.75, "y": 5.25, "w": 1.25},
{"x": 15.25, "y": 5.25},
{"x": 16.25, "y": 5.25},
{"x": 17.25, "y": 5.25},
{"x": 18.5, "y": 5.25, "w": 2},
{"x": 20.5, "y": 5.25}
]
}
}
}