1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/keychron/q8/ansi_encoder/keyboard.json

167 lines
8.6 KiB
JSON

{
"encoder": {
"enabled": true,
"rotary": [
{"pin_a": "B5", "pin_b": "A10"}
]
},
"rgb_matrix": {
"layout": [
{"matrix": [0, 0], "x": 7, "y": 1, "flags": 1},
{"matrix": [0, 1], "x": 20, "y": 1, "flags": 4},
{"matrix": [0, 2], "x": 33, "y": 0, "flags": 4},
{"matrix": [0, 3], "x": 48, "y": 3, "flags": 4},
{"matrix": [0, 4], "x": 61, "y": 6, "flags": 4},
{"matrix": [0, 5], "x": 74, "y": 8, "flags": 4},
{"matrix": [0, 6], "x": 87, "y": 11, "flags": 4},
{"matrix": [0, 7], "x": 106, "y": 11, "flags": 4},
{"matrix": [0, 8], "x": 119, "y": 8, "flags": 4},
{"matrix": [0, 9], "x": 132, "y": 6, "flags": 4},
{"matrix": [0, 10], "x": 145, "y": 3, "flags": 4},
{"matrix": [0, 11], "x": 160, "y": 0, "flags": 4},
{"matrix": [0, 12], "x": 173, "y": 1, "flags": 4},
{"matrix": [0, 13], "x": 193, "y": 1, "flags": 1},
{"matrix": [0, 14], "x": 220, "y": 0, "flags": 1},
{"matrix": [1, 0], "x": 7, "y": 14, "flags": 1},
{"matrix": [1, 1], "x": 24, "y": 14, "flags": 4},
{"matrix": [1, 2], "x": 39, "y": 14, "flags": 4},
{"matrix": [1, 3], "x": 52, "y": 17, "flags": 4},
{"matrix": [1, 4], "x": 65, "y": 20, "flags": 4},
{"matrix": [1, 5], "x": 78, "y": 22, "flags": 4},
{"matrix": [1, 6], "x": 103, "y": 25, "flags": 4},
{"matrix": [1, 7], "x": 116, "y": 22, "flags": 4},
{"matrix": [1, 8], "x": 129, "y": 20, "flags": 4},
{"matrix": [1, 9], "x": 142, "y": 17, "flags": 4},
{"matrix": [1, 10], "x": 155, "y": 14, "flags": 4},
{"matrix": [1, 11], "x": 170, "y": 14, "flags": 4},
{"matrix": [1, 12], "x": 183, "y": 14, "flags": 4},
{"matrix": [1, 13], "x": 200, "y": 14, "flags": 4},
{"matrix": [1, 14], "x": 222, "y": 16, "flags": 1},
{"matrix": [2, 0], "x": 6, "y": 27, "flags": 8},
{"matrix": [2, 1], "x": 24, "y": 27, "flags": 4},
{"matrix": [2, 2], "x": 39, "y": 28, "flags": 4},
{"matrix": [2, 3], "x": 52, "y": 30, "flags": 4},
{"matrix": [2, 4], "x": 65, "y": 33, "flags": 4},
{"matrix": [2, 5], "x": 78, "y": 36, "flags": 4},
{"matrix": [2, 7], "x": 109, "y": 37, "flags": 4},
{"matrix": [2, 8], "x": 122, "y": 34, "flags": 4},
{"matrix": [2, 9], "x": 135, "y": 32, "flags": 4},
{"matrix": [2, 10], "x": 148, "y": 29, "flags": 4},
{"matrix": [2, 11], "x": 162, "y": 27, "flags": 4},
{"matrix": [2, 12], "x": 176, "y": 27, "flags": 4},
{"matrix": [2, 13], "x": 197, "y": 27, "flags": 1},
{"matrix": [2, 14], "x": 224, "y": 29, "flags": 1},
{"matrix": [3, 0], "x": 7, "y": 40, "flags": 1},
{"matrix": [3, 2], "x": 28, "y": 40, "flags": 4},
{"matrix": [3, 3], "x": 43, "y": 42, "flags": 4},
{"matrix": [3, 4], "x": 56, "y": 44, "flags": 4},
{"matrix": [3, 5], "x": 69, "y": 47, "flags": 4},
{"matrix": [3, 6], "x": 82, "y": 50, "flags": 4},
{"matrix": [3, 7], "x": 102, "y": 52, "flags": 4},
{"matrix": [3, 8], "x": 115, "y": 49, "flags": 4},
{"matrix": [3, 9], "x": 128, "y": 46, "flags": 4},
{"matrix": [3, 10], "x": 141, "y": 44, "flags": 4},
{"matrix": [3, 11], "x": 154, "y": 41, "flags": 4},
{"matrix": [3, 12], "x": 169, "y": 40, "flags": 4},
{"matrix": [3, 13], "x": 187, "y": 40, "flags": 1},
{"matrix": [3, 14], "x": 209, "y": 43, "flags": 1},
{"matrix": [4, 0], "x": 0, "y": 53, "flags": 1},
{"matrix": [4, 1], "x": 17, "y": 53, "flags": 1},
{"matrix": [4, 2], "x": 42, "y": 55, "flags": 1},
{"matrix": [4, 3], "x": 65, "y": 60, "flags": 4},
{"matrix": [4, 6], "x": 86, "y": 64, "flags": 1},
{"matrix": [4, 7], "x": 107, "y": 64, "flags": 1},
{"matrix": [4, 8], "x": 131, "y": 59, "flags": 4},
{"matrix": [4, 9], "x": 156, "y": 54, "flags": 1},
{"matrix": [4, 12], "x": 196, "y": 56, "flags": 1},
{"matrix": [4, 13], "x": 209, "y": 56, "flags": 1},
{"matrix": [4, 14], "x": 222, "y": 56, "flags": 1}
]
},
"usb": {
"device_version": "1.0.0",
"pid": "0x0181"
},
"layouts": {
"LAYOUT_ansi_69": {
"layout": [
{"matrix": [0, 0], "x": 0.75, "y": 0.25},
{"matrix": [0, 1], "x": 1.75, "y": 0.25},
{"matrix": [0, 2], "x": 2.75, "y": 0},
{"matrix": [0, 3], "x": 3.75, "y": 0.25},
{"matrix": [0, 4], "x": 4.75, "y": 0.25},
{"matrix": [0, 5], "x": 5.75, "y": 0.25},
{"matrix": [0, 6], "x": 6.75, "y": 0.25},
{"matrix": [0, 7], "x": 9.5, "y": 0.25},
{"matrix": [0, 8], "x": 10.5, "y": 0.25},
{"matrix": [0, 9], "x": 11.5, "y": 0.25},
{"matrix": [0, 10], "x": 12.5, "y": 0.25},
{"matrix": [0, 11], "x": 13.5, "y": 0},
{"matrix": [0, 12], "x": 14.5, "y": 0.25},
{"matrix": [0, 13], "x": 15.5, "y": 0.25, "w": 2},
{"matrix": [0, 14], "x": 18, "y": 0},
{"matrix": [1, 0], "x": 0.5, "y": 1.25, "w": 1.5},
{"matrix": [1, 1], "x": 2, "y": 1.25},
{"matrix": [1, 2], "x": 3.25, "y": 1.25},
{"matrix": [1, 3], "x": 4.25, "y": 1.25},
{"matrix": [1, 4], "x": 5.25, "y": 1.25},
{"matrix": [1, 5], "x": 6.25, "y": 1.25},
{"matrix": [1, 6], "x": 9, "y": 1.25},
{"matrix": [1, 7], "x": 10, "y": 1.25},
{"matrix": [1, 8], "x": 11, "y": 1.25},
{"matrix": [1, 9], "x": 12, "y": 1.25},
{"matrix": [1, 10], "x": 13.25, "y": 1.25},
{"matrix": [1, 11], "x": 14.25, "y": 1.25},
{"matrix": [1, 12], "x": 15.25, "y": 1.25},
{"matrix": [1, 13], "x": 16.25, "y": 1.25, "w": 1.5},
{"matrix": [1, 14], "x": 18.25, "y": 1.5},
{"matrix": [2, 0], "x": 0.25, "y": 2.25, "w": 1.75},
{"matrix": [2, 1], "x": 2, "y": 2.25},
{"matrix": [2, 2], "x": 3.5, "y": 2.25},
{"matrix": [2, 3], "x": 4.5, "y": 2.25},
{"matrix": [2, 4], "x": 5.5, "y": 2.25},
{"matrix": [2, 5], "x": 6.5, "y": 2.25},
{"matrix": [2, 7], "x": 9.25, "y": 2.25},
{"matrix": [2, 8], "x": 10.25, "y": 2.25},
{"matrix": [2, 9], "x": 11.25, "y": 2.25},
{"matrix": [2, 10], "x": 12.25, "y": 2.25},
{"matrix": [2, 11], "x": 13.75, "y": 2.25},
{"matrix": [2, 12], "x": 14.75, "y": 2.25},
{"matrix": [2, 13], "x": 15.75, "y": 2.25, "w": 2.25},
{"matrix": [2, 14], "x": 18.5, "y": 2.5},
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 2.25},
{"matrix": [3, 2], "x": 2.25, "y": 3.25},
{"matrix": [3, 3], "x": 3.75, "y": 3.25},
{"matrix": [3, 4], "x": 4.75, "y": 3.25},
{"matrix": [3, 5], "x": 5.75, "y": 3.25},
{"matrix": [3, 6], "x": 6.75, "y": 3.25},
{"matrix": [3, 7], "x": 8.5, "y": 3.25},
{"matrix": [3, 8], "x": 9.5, "y": 3.25},
{"matrix": [3, 9], "x": 10.5, "y": 3.25},
{"matrix": [3, 10], "x": 11.5, "y": 3.25},
{"matrix": [3, 11], "x": 12.5, "y": 3.25},
{"matrix": [3, 12], "x": 14.25, "y": 3.25},
{"matrix": [3, 13], "x": 15.25, "y": 3.25, "w": 1.75},
{"matrix": [3, 14], "x": 17.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": 3.75, "y": 4.25, "w": 1.25},
{"matrix": [4, 3], "x": 5, "y": 4.25, "w": 2.25},
{"matrix": [4, 6], "x": 7.25, "y": 4.25},
{"matrix": [4, 7], "x": 8.75, "y": 4.25},
{"matrix": [4, 8], "x": 9.75, "y": 4.25, "w": 2.75},
{"matrix": [4, 9], "x": 12.5, "y": 4.25},
{"matrix": [4, 12], "x": 16.25, "y": 4.5},
{"matrix": [4, 13], "x": 17.25, "y": 4.5},
{"matrix": [4, 14], "x": 18.25, "y": 4.5}
]
}
}
}