137 lines
7.0 KiB
JSON

{
"manufacturer": "yang",
"keyboard_name": "ydkb/ydpm40",
"maintainer": "xofyarg",
"bootloader": "bootloadhid",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": false,
"command": false,
"console": false,
"extrakey": false,
"mousekey": false,
"nkro": false
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B4", "B5", "C5", "C4", "C3", "C2", "C1", "C0"],
"rows": ["D4", "D5", "D6", "D7"]
},
"processor": "atmega328p",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0240",
"vid": "0xFEED"
},
"build": {
"lto": true
},
"layouts": {
"LAYOUT_ortho": {
"layout": [
{"matrix": [0, 0], "label": "Esc", "x": 0, "y": 0},
{"matrix": [0, 1], "label": "Q", "x": 1, "y": 0},
{"matrix": [0, 2], "label": "W", "x": 2, "y": 0},
{"matrix": [0, 3], "label": "E", "x": 3, "y": 0},
{"matrix": [0, 4], "label": "R", "x": 4, "y": 0},
{"matrix": [0, 5], "label": "T", "x": 5, "y": 0},
{"matrix": [0, 6], "label": "Y", "x": 6, "y": 0},
{"matrix": [0, 7], "label": "U", "x": 7, "y": 0},
{"matrix": [0, 8], "label": "I", "x": 8, "y": 0},
{"matrix": [0, 9], "label": "O", "x": 9, "y": 0},
{"matrix": [0, 10], "label": "P", "x": 10, "y": 0},
{"matrix": [0, 11], "label": "BS", "x": 11, "y": 0},
{"matrix": [1, 0], "label": "Caps", "x": 0, "y": 1},
{"matrix": [1, 1], "label": "A", "x": 1, "y": 1},
{"matrix": [1, 2], "label": "S", "x": 2, "y": 1},
{"matrix": [1, 3], "label": "D", "x": 3, "y": 1},
{"matrix": [1, 4], "label": "F", "x": 4, "y": 1},
{"matrix": [1, 5], "label": "G", "x": 5, "y": 1},
{"matrix": [1, 6], "label": "H", "x": 6, "y": 1},
{"matrix": [1, 7], "label": "J", "x": 7, "y": 1},
{"matrix": [1, 8], "label": "K", "x": 8, "y": 1},
{"matrix": [1, 9], "label": "L", "x": 9, "y": 1},
{"matrix": [1, 10], "label": ";:", "x": 10, "y": 1},
{"matrix": [1, 11], "label": "Enter", "x": 11, "y": 1},
{"matrix": [2, 0], "label": "Shift", "x": 0, "y": 2},
{"matrix": [2, 1], "label": "Z", "x": 1, "y": 2},
{"matrix": [2, 2], "label": "X", "x": 2, "y": 2},
{"matrix": [2, 3], "label": "C", "x": 3, "y": 2},
{"matrix": [2, 4], "label": "V", "x": 4, "y": 2},
{"matrix": [2, 5], "label": "B", "x": 5, "y": 2},
{"matrix": [2, 6], "label": "N", "x": 6, "y": 2},
{"matrix": [2, 7], "label": "M", "x": 7, "y": 2},
{"matrix": [2, 8], "label": ",<", "x": 8, "y": 2},
{"matrix": [2, 9], "label": ".>", "x": 9, "y": 2},
{"matrix": [2, 10], "label": "/?", "x": 10, "y": 2},
{"matrix": [2, 11], "label": "RShift", "x": 11, "y": 2},
{"matrix": [3, 0], "label": "Ctrl", "x": 0, "y": 3},
{"matrix": [3, 1], "label": "Win", "x": 1, "y": 3},
{"matrix": [3, 2], "label": "Alt", "x": 2, "y": 3},
{"matrix": [3, 3], "label": "Menu", "x": 3, "y": 3},
{"matrix": [3, 4], "label": "Space", "x": 4, "y": 3, "w": 2},
{"matrix": [3, 6], "label": "Space", "x": 6, "y": 3, "w": 2},
{"matrix": [3, 8], "label": "Left", "x": 8, "y": 3},
{"matrix": [3, 9], "label": "Up", "x": 9, "y": 3},
{"matrix": [3, 10], "label": "Down", "x": 10, "y": 3},
{"matrix": [3, 11], "label": "Right", "x": 11, "y": 3}
]
},
"LAYOUT_stagger": {
"layout": [
{"matrix": [0, 0], "label": "Esc", "x": 0, "y": 0},
{"matrix": [0, 1], "label": "Q", "x": 1, "y": 0},
{"matrix": [0, 2], "label": "W", "x": 2, "y": 0},
{"matrix": [0, 3], "label": "E", "x": 3, "y": 0},
{"matrix": [0, 4], "label": "R", "x": 4, "y": 0},
{"matrix": [0, 5], "label": "T", "x": 5, "y": 0},
{"matrix": [0, 6], "label": "Y", "x": 6, "y": 0},
{"matrix": [0, 7], "label": "U", "x": 7, "y": 0},
{"matrix": [0, 8], "label": "I", "x": 8, "y": 0},
{"matrix": [0, 9], "label": "O", "x": 9, "y": 0},
{"matrix": [0, 10], "label": "P", "x": 10, "y": 0},
{"matrix": [0, 11], "label": "BS", "x": 11, "y": 0},
{"matrix": [1, 0], "label": "Caps", "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "label": "A", "x": 1.5, "y": 1},
{"matrix": [1, 2], "label": "S", "x": 2.5, "y": 1},
{"matrix": [1, 3], "label": "D", "x": 3.5, "y": 1},
{"matrix": [1, 4], "label": "F", "x": 4.5, "y": 1},
{"matrix": [1, 5], "label": "G", "x": 5.5, "y": 1},
{"matrix": [1, 6], "label": "H", "x": 6.5, "y": 1},
{"matrix": [1, 7], "label": "J", "x": 7.5, "y": 1},
{"matrix": [1, 8], "label": "K", "x": 8.5, "y": 1},
{"matrix": [1, 9], "label": "L", "x": 9.5, "y": 1},
{"matrix": [1, 11], "label": "Enter", "x": 10.5, "y": 1, "w": 1.5},
{"matrix": [2, 0], "label": "Shift", "x": 0, "y": 2},
{"matrix": [2, 1], "label": "Z", "x": 1, "y": 2},
{"matrix": [2, 2], "label": "X", "x": 2, "y": 2},
{"matrix": [2, 3], "label": "C", "x": 3, "y": 2},
{"matrix": [2, 4], "label": "V", "x": 4, "y": 2},
{"matrix": [2, 5], "label": "B", "x": 5, "y": 2},
{"matrix": [2, 6], "label": "N", "x": 6, "y": 2},
{"matrix": [2, 7], "label": "M", "x": 7, "y": 2},
{"matrix": [2, 8], "label": ",<", "x": 8, "y": 2},
{"matrix": [2, 9], "label": ".>", "x": 9, "y": 2},
{"matrix": [2, 10], "label": "/?", "x": 10, "y": 2},
{"matrix": [2, 11], "label": "RShift", "x": 11, "y": 2},
{"matrix": [3, 0], "label": "Ctrl", "x": 0, "y": 3},
{"matrix": [3, 1], "label": "Win", "x": 1, "y": 3},
{"matrix": [3, 2], "label": "Alt", "x": 2, "y": 3},
{"matrix": [3, 3], "label": "Menu", "x": 3, "y": 3, "w": 1.25},
{"matrix": [3, 4], "label": "Space", "x": 4.25, "y": 3, "w": 1.75},
{"matrix": [3, 6], "label": "Space", "x": 6, "y": 3, "w": 1.75},
{"matrix": [3, 8], "label": "Left", "x": 7.75, "y": 3, "w": 1.25},
{"matrix": [3, 9], "label": "Up", "x": 9, "y": 3},
{"matrix": [3, 10], "label": "Down", "x": 10, "y": 3},
{"matrix": [3, 11], "label": "Right", "x": 11, "y": 3}
]
}
}
}