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

56 lines
1.8 KiB
JSON

{
"keyboard_name": "mammoth20x",
"manufacturer": "wuque studio",
"url": "https://shop.wuquestudio.com/",
"maintainer": "spbgzh",
"usb": {
"vid": "0xB06B",
"pid": "0x0005",
"device_version": "0.0.1"
},
"encoder": {
"rotary": [
{"pin_a": "D3", "pin_b": "D2", "resolution": 2}
]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT_default": "LAYOUT"
},
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "Esc", "x": 0, "y": 0 },
{ "label": "Pause", "x": 1, "y": 0 },
{ "label": "Delete", "x": 2, "y": 0 },
{ "label": "LeftEncode", "x": 3, "y": 0, "w": 0.5 },
{ "label": "EncoderClick", "x": 3.5, "y": 0 },
{ "label": "RightEncode", "x": 4.5, "y": 0, "w" : 0.5 },
{ "label": "Num", "x": 0, "y": 1 },
{ "label": "/", "x": 1, "y": 1 },
{ "label": "*", "x": 2, "y": 1 },
{ "label": "-", "x": 3, "y": 1 },
{ "label": "7", "x": 0, "y": 2 },
{ "label": "8", "x": 1, "y": 2 },
{ "label": "9", "x": 2, "y": 2 },
{ "label": "4", "x": 0, "y": 3 },
{ "label": "5", "x": 1, "y": 3 },
{ "label": "6", "x": 2, "y": 3 },
{ "label": "+", "x": 3, "y": 2, "h": 2 },
{ "label": "1", "x": 0, "y": 4 },
{ "label": "2", "x": 1, "y": 4 },
{ "label": "3", "x": 2, "y": 4 },
{ "label": "0", "x": 0, "y": 5, "w": 2 },
{ "label": ".", "x": 2, "y": 5 },
{ "label": "Enter", "x": 3, "y": 4,"h":2 }
]
}
}
}