126 lines
6.6 KiB
JSON
126 lines
6.6 KiB
JSON
{
|
|
"encoder": {
|
|
"enabled": true,
|
|
"rotary": [
|
|
{"pin_a": "B4", "pin_b": "B5"}
|
|
]
|
|
},
|
|
"rgb_matrix": {
|
|
"layout": [
|
|
{"matrix": [0, 0], "x": 2, "y": 0, "flags": 1},
|
|
{"matrix": [0, 1], "x": 20, "y": 0, "flags": 4},
|
|
{"matrix": [0, 2], "x": 35, "y": 0, "flags": 4},
|
|
{"matrix": [0, 3], "x": 50, "y": 0, "flags": 4},
|
|
{"matrix": [0, 4], "x": 65, "y": 0, "flags": 4},
|
|
{"matrix": [0, 5], "x": 80, "y": 0, "flags": 4},
|
|
{"matrix": [0, 6], "x": 94, "y": 0, "flags": 4},
|
|
{"matrix": [0, 7], "x": 109, "y": 0, "flags": 4},
|
|
{"matrix": [0, 8], "x": 124, "y": 0, "flags": 4},
|
|
{"matrix": [0, 9], "x": 139, "y": 0, "flags": 4},
|
|
{"matrix": [0, 10], "x": 154, "y": 0, "flags": 4},
|
|
{"matrix": [0, 11], "x": 168, "y": 0, "flags": 4},
|
|
{"matrix": [0, 12], "x": 183, "y": 0, "flags": 4},
|
|
{"matrix": [0, 13], "x": 202, "y": 0, "flags": 4},
|
|
{"matrix": [0, 14], "x": 224, "y": 0, "flags": 1},
|
|
{"matrix": [1, 0], "x": 4, "y": 21, "flags": 8},
|
|
{"matrix": [1, 1], "x": 24, "y": 21, "flags": 4},
|
|
{"matrix": [1, 2], "x": 39, "y": 21, "flags": 4},
|
|
{"matrix": [1, 3], "x": 54, "y": 21, "flags": 4},
|
|
{"matrix": [1, 4], "x": 68, "y": 21, "flags": 4},
|
|
{"matrix": [1, 5], "x": 83, "y": 21, "flags": 4},
|
|
{"matrix": [1, 6], "x": 98, "y": 21, "flags": 4},
|
|
{"matrix": [1, 7], "x": 113, "y": 21, "flags": 4},
|
|
{"matrix": [1, 8], "x": 128, "y": 21, "flags": 4},
|
|
{"matrix": [1, 9], "x": 142, "y": 21, "flags": 4},
|
|
{"matrix": [1, 10], "x": 157, "y": 21, "flags": 4},
|
|
{"matrix": [1, 11], "x": 172, "y": 21, "flags": 4},
|
|
{"matrix": [1, 13], "x": 196, "y": 21, "flags": 1},
|
|
{"matrix": [1, 14], "x": 224, "y": 27, "flags": 1},
|
|
{"matrix": [2, 0], "x": 7, "y": 43, "flags": 1},
|
|
{"matrix": [2, 2], "x": 31, "y": 43, "flags": 4},
|
|
{"matrix": [2, 3], "x": 46, "y": 43, "flags": 4},
|
|
{"matrix": [2, 4], "x": 61, "y": 43, "flags": 4},
|
|
{"matrix": [2, 5], "x": 76, "y": 43, "flags": 4},
|
|
{"matrix": [2, 6], "x": 91, "y": 43, "flags": 4},
|
|
{"matrix": [2, 7], "x": 105, "y": 43, "flags": 4},
|
|
{"matrix": [2, 8], "x": 120, "y": 43, "flags": 4},
|
|
{"matrix": [2, 9], "x": 135, "y": 43, "flags": 4},
|
|
{"matrix": [2, 10], "x": 150, "y": 43, "flags": 4},
|
|
{"matrix": [2, 11], "x": 165, "y": 43, "flags": 4},
|
|
{"matrix": [2, 13], "x": 185, "y": 43, "flags": 1},
|
|
{"matrix": [2, 14], "x": 205, "y": 43, "flags": 1},
|
|
{"matrix": [3, 0], "x": 0, "y": 64, "flags": 1},
|
|
{"matrix": [3, 1], "x": 18, "y": 64, "flags": 1},
|
|
{"matrix": [3, 2], "x": 37, "y": 64, "flags": 1},
|
|
{"matrix": [3, 6], "x": 92, "y": 64, "flags": 1},
|
|
{"matrix": [3, 10], "x": 146, "y": 64, "flags": 1},
|
|
{"matrix": [3, 11], "x": 161, "y": 64, "flags": 1},
|
|
{"matrix": [3, 12], "x": 176, "y": 64, "flags": 1},
|
|
{"matrix": [3, 13], "x": 190, "y": 64, "flags": 1},
|
|
{"matrix": [3, 14], "x": 205, "y": 64, "flags": 1},
|
|
{"matrix": [1, 12], "x": 220, "y": 64, "flags": 1}
|
|
]
|
|
},
|
|
"usb": {
|
|
"device_version": "1.0.0",
|
|
"pid": "0x0191"
|
|
},
|
|
"layouts": {
|
|
"LAYOUT_ansi_52": {
|
|
"layout": [
|
|
{"matrix": [0, 0], "x": 0, "y": 0.25, "w": 1.5},
|
|
{"matrix": [0, 1], "x": 1.5, "y": 0.25},
|
|
{"matrix": [0, 2], "x": 2.5, "y": 0.25},
|
|
{"matrix": [0, 3], "x": 3.5, "y": 0.25},
|
|
{"matrix": [0, 4], "x": 4.5, "y": 0.25},
|
|
{"matrix": [0, 5], "x": 5.5, "y": 0.25},
|
|
{"matrix": [0, 6], "x": 6.5, "y": 0.25},
|
|
{"matrix": [0, 7], "x": 7.5, "y": 0.25},
|
|
{"matrix": [0, 8], "x": 8.5, "y": 0.25},
|
|
{"matrix": [0, 9], "x": 9.5, "y": 0.25},
|
|
{"matrix": [0, 10], "x": 10.5, "y": 0.25},
|
|
{"matrix": [0, 11], "x": 11.5, "y": 0.25},
|
|
{"matrix": [0, 12], "x": 12.5, "y": 0.25},
|
|
{"matrix": [0, 13], "x": 13.5, "y": 0.25, "w": 1.5},
|
|
{"matrix": [0, 14], "x": 15.25, "y": 0},
|
|
{"matrix": [1, 0], "x": 0, "y": 1.25, "w": 1.75},
|
|
{"matrix": [1, 1], "x": 1.75, "y": 1.25},
|
|
{"matrix": [1, 2], "x": 2.75, "y": 1.25},
|
|
{"matrix": [1, 3], "x": 3.75, "y": 1.25},
|
|
{"matrix": [1, 4], "x": 4.75, "y": 1.25},
|
|
{"matrix": [1, 5], "x": 5.75, "y": 1.25},
|
|
{"matrix": [1, 6], "x": 6.75, "y": 1.25},
|
|
{"matrix": [1, 7], "x": 7.75, "y": 1.25},
|
|
{"matrix": [1, 8], "x": 8.75, "y": 1.25},
|
|
{"matrix": [1, 9], "x": 9.75, "y": 1.25},
|
|
{"matrix": [1, 10], "x": 10.75, "y": 1.25},
|
|
{"matrix": [1, 11], "x": 11.75, "y": 1.25},
|
|
{"matrix": [1, 13], "x": 12.75, "y": 1.25, "w": 2.25},
|
|
{"matrix": [1, 14], "x": 15.25, "y": 1.25},
|
|
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 2.25},
|
|
{"matrix": [2, 2], "x": 2.25, "y": 2.25},
|
|
{"matrix": [2, 3], "x": 3.25, "y": 2.25},
|
|
{"matrix": [2, 4], "x": 4.25, "y": 2.25},
|
|
{"matrix": [2, 5], "x": 5.25, "y": 2.25},
|
|
{"matrix": [2, 6], "x": 6.25, "y": 2.25},
|
|
{"matrix": [2, 7], "x": 7.25, "y": 2.25},
|
|
{"matrix": [2, 8], "x": 8.25, "y": 2.25},
|
|
{"matrix": [2, 9], "x": 9.25, "y": 2.25},
|
|
{"matrix": [2, 10], "x": 10.25, "y": 2.25},
|
|
{"matrix": [2, 11], "x": 11.25, "y": 2.25},
|
|
{"matrix": [2, 13], "x": 12.25, "y": 2.25, "w": 1.75},
|
|
{"matrix": [2, 14], "x": 14.25, "y": 2.5},
|
|
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.25},
|
|
{"matrix": [3, 1], "x": 1.25, "y": 3.25, "w": 1.25},
|
|
{"matrix": [3, 2], "x": 2.5, "y": 3.25, "w": 1.25},
|
|
{"matrix": [3, 6], "x": 3.75, "y": 3.25, "w": 6.25},
|
|
{"matrix": [3, 10], "x": 10, "y": 3.25},
|
|
{"matrix": [3, 11], "x": 11, "y": 3.25},
|
|
{"matrix": [3, 12], "x": 12, "y": 3.25},
|
|
{"matrix": [3, 13], "x": 13.25, "y": 3.5},
|
|
{"matrix": [3, 14], "x": 14.25, "y": 3.5},
|
|
{"matrix": [1, 12], "x": 15.25, "y": 3.5}
|
|
]
|
|
}
|
|
}
|
|
} |