qmk_firmware/keyboards/keychron/q2/iso_encoder/keyboard.json

168 lines
8.5 KiB
JSON

{
"usb": {
"pid": "0x0113",
"device_version": "1.0.0"
},
"encoder": {
"enabled": true,
"rotary": [
{"pin_a": "A10", "pin_b": "B5"}
]
},
"rgb_matrix": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
{"matrix": [0, 1], "x": 15, "y": 0, "flags": 4},
{"matrix": [0, 2], "x": 29, "y": 0, "flags": 4},
{"matrix": [0, 3], "x": 44, "y": 0, "flags": 4},
{"matrix": [0, 4], "x": 59, "y": 0, "flags": 4},
{"matrix": [0, 5], "x": 73, "y": 0, "flags": 4},
{"matrix": [0, 6], "x": 88, "y": 0, "flags": 4},
{"matrix": [0, 7], "x": 103, "y": 0, "flags": 4},
{"matrix": [0, 8], "x": 118, "y": 0, "flags": 4},
{"matrix": [0, 9], "x": 132, "y": 0, "flags": 4},
{"matrix": [0, 10], "x": 147, "y": 0, "flags": 4},
{"matrix": [0, 11], "x": 162, "y": 0, "flags": 4},
{"matrix": [0, 12], "x": 176, "y": 0, "flags": 4},
{"matrix": [0, 13], "x": 198, "y": 0, "flags": 1},
{"matrix": [0, 14], "x": 224, "y": 0, "flags": 1},
{"matrix": [1, 0], "x": 4, "y": 15, "flags": 1},
{"matrix": [1, 1], "x": 22, "y": 15, "flags": 4},
{"matrix": [1, 2], "x": 37, "y": 15, "flags": 4},
{"matrix": [1, 3], "x": 51, "y": 15, "flags": 4},
{"matrix": [1, 4], "x": 66, "y": 15, "flags": 4},
{"matrix": [1, 5], "x": 81, "y": 15, "flags": 4},
{"matrix": [1, 6], "x": 95, "y": 15, "flags": 4},
{"matrix": [1, 7], "x": 110, "y": 15, "flags": 4},
{"matrix": [1, 8], "x": 125, "y": 15, "flags": 4},
{"matrix": [1, 9], "x": 140, "y": 15, "flags": 4},
{"matrix": [1, 10], "x": 154, "y": 15, "flags": 4},
{"matrix": [1, 11], "x": 169, "y": 15, "flags": 4},
{"matrix": [1, 12], "x": 184, "y": 15, "flags": 4},
{"matrix": [1, 14], "x": 224, "y": 15, "flags": 1},
{"matrix": [2, 0], "x": 6, "y": 30, "flags": 1},
{"matrix": [2, 1], "x": 26, "y": 30, "flags": 4},
{"matrix": [2, 2], "x": 40, "y": 30, "flags": 4},
{"matrix": [2, 3], "x": 55, "y": 30, "flags": 4},
{"matrix": [2, 4], "x": 70, "y": 30, "flags": 4},
{"matrix": [2, 5], "x": 84, "y": 30, "flags": 4},
{"matrix": [2, 6], "x": 99, "y": 30, "flags": 4},
{"matrix": [2, 7], "x": 114, "y": 30, "flags": 4},
{"matrix": [2, 8], "x": 129, "y": 30, "flags": 4},
{"matrix": [2, 9], "x": 143, "y": 30, "flags": 4},
{"matrix": [2, 10], "x": 158, "y": 30, "flags": 4},
{"matrix": [2, 11], "x": 173, "y": 30, "flags": 4},
{"matrix": [2, 13], "x": 187, "y": 30, "flags": 4},
{"matrix": [1, 13], "x": 204, "y": 23, "flags": 1},
{"matrix": [2, 14], "x": 224, "y": 30, "flags": 1},
{"matrix": [3, 0], "x": 9, "y": 45, "flags": 1},
{"matrix": [3, 1], "x": 18, "y": 45, "flags": 4},
{"matrix": [3, 2], "x": 33, "y": 45, "flags": 4},
{"matrix": [3, 3], "x": 48, "y": 45, "flags": 4},
{"matrix": [3, 4], "x": 62, "y": 45, "flags": 4},
{"matrix": [3, 5], "x": 77, "y": 45, "flags": 4},
{"matrix": [3, 6], "x": 92, "y": 45, "flags": 4},
{"matrix": [3, 7], "x": 106, "y": 45, "flags": 4},
{"matrix": [3, 8], "x": 121, "y": 45, "flags": 4},
{"matrix": [3, 9], "x": 136, "y": 45, "flags": 4},
{"matrix": [3, 10], "x": 151, "y": 45, "flags": 4},
{"matrix": [3, 11], "x": 165, "y": 45, "flags": 4},
{"matrix": [3, 13], "x": 185, "y": 45, "flags": 1},
{"matrix": [3, 14], "x": 209, "y": 49, "flags": 1},
{"matrix": [4, 0], "x": 2, "y": 60, "flags": 1},
{"matrix": [4, 1], "x": 20, "y": 60, "flags": 1},
{"matrix": [4, 2], "x": 39, "y": 60, "flags": 1},
{"matrix": [4, 6], "x": 94, "y": 60, "flags": 4},
{"matrix": [4, 10], "x": 147, "y": 60, "flags": 1},
{"matrix": [4, 11], "x": 162, "y": 60, "flags": 1},
{"matrix": [4, 12], "x": 176, "y": 60, "flags": 1},
{"matrix": [4, 13], "x": 195, "y": 64, "flags": 1},
{"matrix": [2, 12], "x": 209, "y": 64, "flags": 1},
{"matrix": [4, 14], "x": 224, "y": 64, "flags": 1}
]
},
"layouts": {
"LAYOUT_iso_68": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.25},
{"matrix": [0, 1], "x": 1, "y": 0.25},
{"matrix": [0, 2], "x": 2, "y": 0.25},
{"matrix": [0, 3], "x": 3, "y": 0.25},
{"matrix": [0, 4], "x": 4, "y": 0.25},
{"matrix": [0, 5], "x": 5, "y": 0.25},
{"matrix": [0, 6], "x": 6, "y": 0.25},
{"matrix": [0, 7], "x": 7, "y": 0.25},
{"matrix": [0, 8], "x": 8, "y": 0.25},
{"matrix": [0, 9], "x": 9, "y": 0.25},
{"matrix": [0, 10], "x": 10, "y": 0.25},
{"matrix": [0, 11], "x": 11, "y": 0.25},
{"matrix": [0, 12], "x": 12, "y": 0.25},
{"matrix": [0, 13], "x": 13, "y": 0.25, "w": 2},
{"matrix": [0, 14], "x": 15.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.25, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1.25},
{"matrix": [1, 2], "x": 2.5, "y": 1.25},
{"matrix": [1, 3], "x": 3.5, "y": 1.25},
{"matrix": [1, 4], "x": 4.5, "y": 1.25},
{"matrix": [1, 5], "x": 5.5, "y": 1.25},
{"matrix": [1, 6], "x": 6.5, "y": 1.25},
{"matrix": [1, 7], "x": 7.5, "y": 1.25},
{"matrix": [1, 8], "x": 8.5, "y": 1.25},
{"matrix": [1, 9], "x": 9.5, "y": 1.25},
{"matrix": [1, 10], "x": 10.5, "y": 1.25},
{"matrix": [1, 11], "x": 11.5, "y": 1.25},
{"matrix": [1, 12], "x": 12.5, "y": 1.25},
{"matrix": [1, 14], "x": 15.25, "y": 1.25},
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2.25},
{"matrix": [2, 2], "x": 2.75, "y": 2.25},
{"matrix": [2, 3], "x": 3.75, "y": 2.25},
{"matrix": [2, 4], "x": 4.75, "y": 2.25},
{"matrix": [2, 5], "x": 5.75, "y": 2.25},
{"matrix": [2, 6], "x": 6.75, "y": 2.25},
{"matrix": [2, 7], "x": 7.75, "y": 2.25},
{"matrix": [2, 8], "x": 8.75, "y": 2.25},
{"matrix": [2, 9], "x": 9.75, "y": 2.25},
{"matrix": [2, 10], "x": 10.75, "y": 2.25},
{"matrix": [2, 11], "x": 11.75, "y": 2.25},
{"matrix": [2, 13], "x": 12.75, "y": 2.25},
{"matrix": [1, 13], "x": 13.75, "y": 1.25, "w": 1.25, "h": 2},
{"matrix": [2, 14], "x": 15.25, "y": 2.25},
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.25},
{"matrix": [3, 1], "x": 1.25, "y": 3.25},
{"matrix": [3, 2], "x": 2.25, "y": 3.25},
{"matrix": [3, 3], "x": 3.25, "y": 3.25},
{"matrix": [3, 4], "x": 4.25, "y": 3.25},
{"matrix": [3, 5], "x": 5.25, "y": 3.25},
{"matrix": [3, 6], "x": 6.25, "y": 3.25},
{"matrix": [3, 7], "x": 7.25, "y": 3.25},
{"matrix": [3, 8], "x": 8.25, "y": 3.25},
{"matrix": [3, 9], "x": 9.25, "y": 3.25},
{"matrix": [3, 10], "x": 10.25, "y": 3.25},
{"matrix": [3, 11], "x": 11.25, "y": 3.25},
{"matrix": [3, 13], "x": 12.25, "y": 3.25, "w": 1.75},
{"matrix": [3, 14], "x": 14.25, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4.25, "w": 1.25},
{"matrix": [4, 2], "x": 2.5, "y": 4.25, "w": 1.25},
{"matrix": [4, 6], "x": 3.75, "y": 4.25, "w": 6.25},
{"matrix": [4, 10], "x": 10, "y": 4.25},
{"matrix": [4, 11], "x": 11, "y": 4.25},
{"matrix": [4, 12], "x": 12, "y": 4.25},
{"matrix": [4, 13], "x": 13.25, "y": 4.5},
{"matrix": [2, 12], "x": 14.25, "y": 4.5},
{"matrix": [4, 14], "x": 15.25, "y": 4.5}
]
}
}
}