qmk_firmware/keyboards/wuque/mammoth20x/info.json
Ryan e933e0411f
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-11 05:41:58 +11:00

61 lines
1.9 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"
},
"matrix_pins": {
"cols": ["B0", "B1", "E6", "F7"],
"rows": ["D5", "F0", "F1", "F4", "F5", "F6"]
},
"diode_direction": "COL2ROW",
"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 }
]
}
}
}