mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
cbf1e0bab5
* add matrix diagram to keyboard header file * friendly-format info.json * correct layout data * add legends to info.json key labels * add LAYOUT_split_space_split_bs Rename the `LAYOUT` tree in info.json to `LAYOUT_split_space_split_bs`, and add a corresponding layout macro. * add LAYOUT_all data to info.json * add LAYOUT_7u_space * add LAYOUT_7u_space_split_bs * add LAYOUT_split_space * convert tabs to spaces in dyz40.h
281 lines
12 KiB
JSON
281 lines
12 KiB
JSON
{
|
|
"keyboard_name": "dyz40",
|
|
"url": "https://github.com/dayatz/mechanical-keyboards/tree/master/dyz40",
|
|
"maintainer": "dayatz",
|
|
"diode_direction": "COL2ROW",
|
|
"matrix_pins": {
|
|
"cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7"],
|
|
"rows": ["B0", "B1", "B3", "B2"]
|
|
},
|
|
"rgblight": {
|
|
"led_count": 13,
|
|
"pin": "B7",
|
|
"hue_steps": 10,
|
|
"saturation_steps": 10,
|
|
"brightness_steps": 10,
|
|
"animations": {
|
|
"all": true
|
|
}
|
|
},
|
|
"usb": {
|
|
"vid": "0xD772",
|
|
"pid": "0x000B",
|
|
"device_ver": "0x0001"
|
|
},
|
|
"layouts": {
|
|
"LAYOUT_all": {
|
|
"layout": [
|
|
{"label":"Esc", "x":0, "y":0},
|
|
{"label":"Q", "x":1, "y":0},
|
|
{"label":"W", "x":2, "y":0},
|
|
{"label":"E", "x":3, "y":0},
|
|
{"label":"R", "x":4, "y":0},
|
|
{"label":"T", "x":5, "y":0},
|
|
{"label":"Y", "x":6, "y":0},
|
|
{"label":"U", "x":7, "y":0},
|
|
{"label":"I", "x":8, "y":0},
|
|
{"label":"O", "x":9, "y":0},
|
|
{"label":"P", "x":10, "y":0},
|
|
{"label":"[{", "x":11, "y":0},
|
|
{"label":"]}", "x":12, "y":0},
|
|
|
|
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
|
{"label":"A", "x":1.25, "y":1},
|
|
{"label":"S", "x":2.25, "y":1},
|
|
{"label":"D", "x":3.25, "y":1},
|
|
{"label":"F", "x":4.25, "y":1},
|
|
{"label":"G", "x":5.25, "y":1},
|
|
{"label":"H", "x":6.25, "y":1},
|
|
{"label":"J", "x":7.25, "y":1},
|
|
{"label":"K", "x":8.25, "y":1},
|
|
{"label":"L", "x":9.25, "y":1},
|
|
{"label":"'\"", "x":10.25, "y":1},
|
|
{"label":"Enter", "x":11.25, "y":1, "w":1.75},
|
|
|
|
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
|
{"label":"Z", "x":1.75, "y":2},
|
|
{"label":"X", "x":2.75, "y":2},
|
|
{"label":"C", "x":3.75, "y":2},
|
|
{"label":"V", "x":4.75, "y":2},
|
|
{"label":"B", "x":5.75, "y":2},
|
|
{"label":"N", "x":6.75, "y":2},
|
|
{"label":"M", "x":7.75, "y":2},
|
|
{"label":",<", "x":8.75, "y":2},
|
|
{"label":".>", "x":9.75, "y":2},
|
|
{"label":"/?", "x":10.75, "y":2},
|
|
{"label":"Shift", "x":11.75, "y":2, "w":1.25},
|
|
|
|
{"label":"Ctrl", "x":0, "y":3, "w":1.5},
|
|
{"label":"Win", "x":1.5, "y":3},
|
|
{"label":"Alt", "x":2.5, "y":3, "w":1.5},
|
|
{"label":"Space", "x":4, "y":3, "w":2.25},
|
|
{"label":"7uSpace", "x":3, "y":4, "w":7},
|
|
{"label":"Fn2", "x":6.25, "y":3, "w":2.75},
|
|
{"label":"Alt", "x":9, "y":3, "w":1.5},
|
|
{"label":"Win", "x":10.5, "y":3},
|
|
{"label":"Ctrl", "x":11.5, "y":3, "w":1.5}
|
|
]
|
|
},
|
|
"LAYOUT_7u_space": {
|
|
"layout": [
|
|
{"label":"Esc", "x":0, "y":0},
|
|
{"label":"Q", "x":1, "y":0},
|
|
{"label":"W", "x":2, "y":0},
|
|
{"label":"E", "x":3, "y":0},
|
|
{"label":"R", "x":4, "y":0},
|
|
{"label":"T", "x":5, "y":0},
|
|
{"label":"Y", "x":6, "y":0},
|
|
{"label":"U", "x":7, "y":0},
|
|
{"label":"I", "x":8, "y":0},
|
|
{"label":"O", "x":9, "y":0},
|
|
{"label":"P", "x":10, "y":0},
|
|
{"label":"Bksp", "x":11, "y":0, "w":2},
|
|
|
|
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
|
{"label":"A", "x":1.25, "y":1},
|
|
{"label":"S", "x":2.25, "y":1},
|
|
{"label":"D", "x":3.25, "y":1},
|
|
{"label":"F", "x":4.25, "y":1},
|
|
{"label":"G", "x":5.25, "y":1},
|
|
{"label":"H", "x":6.25, "y":1},
|
|
{"label":"J", "x":7.25, "y":1},
|
|
{"label":"K", "x":8.25, "y":1},
|
|
{"label":"L", "x":9.25, "y":1},
|
|
{"label":"'\"", "x":10.25, "y":1},
|
|
{"label":"Enter", "x":11.25, "y":1, "w":1.75},
|
|
|
|
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
|
{"label":"Z", "x":1.75, "y":2},
|
|
{"label":"X", "x":2.75, "y":2},
|
|
{"label":"C", "x":3.75, "y":2},
|
|
{"label":"V", "x":4.75, "y":2},
|
|
{"label":"B", "x":5.75, "y":2},
|
|
{"label":"N", "x":6.75, "y":2},
|
|
{"label":"M", "x":7.75, "y":2},
|
|
{"label":",<", "x":8.75, "y":2},
|
|
{"label":".>", "x":9.75, "y":2},
|
|
{"label":"/?", "x":10.75, "y":2},
|
|
{"label":"Shift", "x":11.75, "y":2, "w":1.25},
|
|
|
|
{"label":"Ctrl", "x":0, "y":3, "w":1.5},
|
|
{"label":"Alt", "x":1.5, "y":3, "w":1.5},
|
|
{"label":"7uSpace", "x":3, "y":3, "w":7},
|
|
{"label":"Alt", "x":10, "y":3, "w":1.5},
|
|
{"label":"Ctrl", "x":11.5, "y":3, "w":1.5}
|
|
]
|
|
},
|
|
"LAYOUT_7u_space_split_bs": {
|
|
"layout": [
|
|
{"label":"Esc", "x":0, "y":0},
|
|
{"label":"Q", "x":1, "y":0},
|
|
{"label":"W", "x":2, "y":0},
|
|
{"label":"E", "x":3, "y":0},
|
|
{"label":"R", "x":4, "y":0},
|
|
{"label":"T", "x":5, "y":0},
|
|
{"label":"Y", "x":6, "y":0},
|
|
{"label":"U", "x":7, "y":0},
|
|
{"label":"I", "x":8, "y":0},
|
|
{"label":"O", "x":9, "y":0},
|
|
{"label":"P", "x":10, "y":0},
|
|
{"label":"[{", "x":11, "y":0},
|
|
{"label":"]}", "x":12, "y":0},
|
|
|
|
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
|
{"label":"A", "x":1.25, "y":1},
|
|
{"label":"S", "x":2.25, "y":1},
|
|
{"label":"D", "x":3.25, "y":1},
|
|
{"label":"F", "x":4.25, "y":1},
|
|
{"label":"G", "x":5.25, "y":1},
|
|
{"label":"H", "x":6.25, "y":1},
|
|
{"label":"J", "x":7.25, "y":1},
|
|
{"label":"K", "x":8.25, "y":1},
|
|
{"label":"L", "x":9.25, "y":1},
|
|
{"label":"'\"", "x":10.25, "y":1},
|
|
{"label":"Enter", "x":11.25, "y":1, "w":1.75},
|
|
|
|
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
|
{"label":"Z", "x":1.75, "y":2},
|
|
{"label":"X", "x":2.75, "y":2},
|
|
{"label":"C", "x":3.75, "y":2},
|
|
{"label":"V", "x":4.75, "y":2},
|
|
{"label":"B", "x":5.75, "y":2},
|
|
{"label":"N", "x":6.75, "y":2},
|
|
{"label":"M", "x":7.75, "y":2},
|
|
{"label":",<", "x":8.75, "y":2},
|
|
{"label":".>", "x":9.75, "y":2},
|
|
{"label":"/?", "x":10.75, "y":2},
|
|
{"label":"Shift", "x":11.75, "y":2, "w":1.25},
|
|
|
|
{"label":"Ctrl", "x":0, "y":3, "w":1.5},
|
|
{"label":"Alt", "x":1.5, "y":3, "w":1.5},
|
|
{"label":"7uSpace", "x":3, "y":3, "w":7},
|
|
{"label":"Alt", "x":10, "y":3, "w":1.5},
|
|
{"label":"Ctrl", "x":11.5, "y":3, "w":1.5}
|
|
]
|
|
},
|
|
"LAYOUT_split_space": {
|
|
"layout": [
|
|
{"label":"Esc", "x":0, "y":0},
|
|
{"label":"Q", "x":1, "y":0},
|
|
{"label":"W", "x":2, "y":0},
|
|
{"label":"E", "x":3, "y":0},
|
|
{"label":"R", "x":4, "y":0},
|
|
{"label":"T", "x":5, "y":0},
|
|
{"label":"Y", "x":6, "y":0},
|
|
{"label":"U", "x":7, "y":0},
|
|
{"label":"I", "x":8, "y":0},
|
|
{"label":"O", "x":9, "y":0},
|
|
{"label":"P", "x":10, "y":0},
|
|
{"label":"Bksp", "x":11, "y":0, "w":2},
|
|
|
|
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
|
{"label":"A", "x":1.25, "y":1},
|
|
{"label":"S", "x":2.25, "y":1},
|
|
{"label":"D", "x":3.25, "y":1},
|
|
{"label":"F", "x":4.25, "y":1},
|
|
{"label":"G", "x":5.25, "y":1},
|
|
{"label":"H", "x":6.25, "y":1},
|
|
{"label":"J", "x":7.25, "y":1},
|
|
{"label":"K", "x":8.25, "y":1},
|
|
{"label":"L", "x":9.25, "y":1},
|
|
{"label":"'\"", "x":10.25, "y":1},
|
|
{"label":"Enter", "x":11.25, "y":1, "w":1.75},
|
|
|
|
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
|
{"label":"Z", "x":1.75, "y":2},
|
|
{"label":"X", "x":2.75, "y":2},
|
|
{"label":"C", "x":3.75, "y":2},
|
|
{"label":"V", "x":4.75, "y":2},
|
|
{"label":"B", "x":5.75, "y":2},
|
|
{"label":"N", "x":6.75, "y":2},
|
|
{"label":"M", "x":7.75, "y":2},
|
|
{"label":",<", "x":8.75, "y":2},
|
|
{"label":".>", "x":9.75, "y":2},
|
|
{"label":"/?", "x":10.75, "y":2},
|
|
{"label":"Shift", "x":11.75, "y":2, "w":1.25},
|
|
|
|
{"label":"Ctrl", "x":0, "y":3, "w":1.5},
|
|
{"label":"Win", "x":1.5, "y":3},
|
|
{"label":"Alt", "x":2.5, "y":3, "w":1.5},
|
|
{"label":"Space", "x":4, "y":3, "w":2.25},
|
|
{"label":"Fn", "x":6.25, "y":3, "w":2.75},
|
|
{"label":"Alt", "x":9, "y":3, "w":1.5},
|
|
{"label":"Win", "x":10.5, "y":3},
|
|
{"label":"Ctrl", "x":11.5, "y":3, "w":1.5}
|
|
]
|
|
},
|
|
"LAYOUT_split_space_split_bs": {
|
|
"layout": [
|
|
{"label":"Esc", "x":0, "y":0},
|
|
{"label":"Q", "x":1, "y":0},
|
|
{"label":"W", "x":2, "y":0},
|
|
{"label":"E", "x":3, "y":0},
|
|
{"label":"R", "x":4, "y":0},
|
|
{"label":"T", "x":5, "y":0},
|
|
{"label":"Y", "x":6, "y":0},
|
|
{"label":"U", "x":7, "y":0},
|
|
{"label":"I", "x":8, "y":0},
|
|
{"label":"O", "x":9, "y":0},
|
|
{"label":"P", "x":10, "y":0},
|
|
{"label":"[{", "x":11, "y":0},
|
|
{"label":"]}", "x":12, "y":0},
|
|
|
|
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
|
{"label":"A", "x":1.25, "y":1},
|
|
{"label":"S", "x":2.25, "y":1},
|
|
{"label":"D", "x":3.25, "y":1},
|
|
{"label":"F", "x":4.25, "y":1},
|
|
{"label":"G", "x":5.25, "y":1},
|
|
{"label":"H", "x":6.25, "y":1},
|
|
{"label":"J", "x":7.25, "y":1},
|
|
{"label":"K", "x":8.25, "y":1},
|
|
{"label":"L", "x":9.25, "y":1},
|
|
{"label":"'\"", "x":10.25, "y":1},
|
|
{"label":"Enter", "x":11.25, "y":1, "w":1.75},
|
|
|
|
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
|
{"label":"Z", "x":1.75, "y":2},
|
|
{"label":"X", "x":2.75, "y":2},
|
|
{"label":"C", "x":3.75, "y":2},
|
|
{"label":"V", "x":4.75, "y":2},
|
|
{"label":"B", "x":5.75, "y":2},
|
|
{"label":"N", "x":6.75, "y":2},
|
|
{"label":"M", "x":7.75, "y":2},
|
|
{"label":",<", "x":8.75, "y":2},
|
|
{"label":".>", "x":9.75, "y":2},
|
|
{"label":"/?", "x":10.75, "y":2},
|
|
{"label":"Shift", "x":11.75, "y":2, "w":1.25},
|
|
|
|
{"label":"Ctrl", "x":0, "y":3, "w":1.5},
|
|
{"label":"Win", "x":1.5, "y":3},
|
|
{"label":"Alt", "x":2.5, "y":3, "w":1.5},
|
|
{"label":"Space", "x":4, "y":3, "w":2.25},
|
|
{"label":"Fn", "x":6.25, "y":3, "w":2.75},
|
|
{"label":"Alt", "x":9, "y":3, "w":1.5},
|
|
{"label":"Win", "x":10.5, "y":3},
|
|
{"label":"Ctrl", "x":11.5, "y":3, "w":1.5}
|
|
]
|
|
}
|
|
}
|
|
}
|