format keyboard.json

This commit is contained in:
Micah 2024-11-04 20:02:05 +08:00
parent 11e01001b6
commit b158846dd2

View File

@ -21,19 +21,13 @@
"dynamic_keymap": { "dynamic_keymap": {
"layer_count": 8 "layer_count": 8
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B12", "B14", "B15", "A8"], "cols": ["B12", "B14", "B15", "A8"],
"rows": ["A9", "A10", "A15", "B3", "B4"] "rows": ["A9", "A10", "A15", "B3", "B4"]
}, },
"ws2812": { "ws2812": {
"pin": "B13" "pin": "B13"
}, },
"rgb_matrix": { "rgb_matrix": {
"animations": { "animations": {
"gradient_left_right": true, "gradient_left_right": true,
@ -101,7 +95,6 @@
], ],
"sleep": true "sleep": true
}, },
"layouts": { "layouts": {
"LAYOUT_numberpad_5x4": { "LAYOUT_numberpad_5x4": {
"layout": [ "layout": [
@ -114,7 +107,6 @@
{"label":"P8","matrix": [ 1,1],"x":1,"y":1}, {"label":"P8","matrix": [ 1,1],"x":1,"y":1},
{"label":"P9","matrix": [ 1,2],"x":2,"y":1}, {"label":"P9","matrix": [ 1,2],"x":2,"y":1},
{"label":"P4","matrix": [ 2,0],"x":2,"y":1}, {"label":"P4","matrix": [ 2,0],"x":2,"y":1},
{"label":"P5","matrix": [ 2,1],"x":3,"y":1}, {"label":"P5","matrix": [ 2,1],"x":3,"y":1},
{"label":"P6","matrix": [ 2,2],"x":4,"y":1}, {"label":"P6","matrix": [ 2,2],"x":4,"y":1},
@ -124,14 +116,9 @@
{"label":"P2","matrix": [ 3,1],"x":1,"y":2}, {"label":"P2","matrix": [ 3,1],"x":1,"y":2},
{"label":"P3","matrix": [ 3,2],"x":2,"y":2}, {"label":"P3","matrix": [ 3,2],"x":2,"y":2},
{"label":"P0","matrix": [ 4,0],"x":0,"y":3}, {"label":"P0","matrix": [ 4,0],"x":0,"y":3},
{"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3},
{"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2}
] ]
} }
} }