Clean up trailing commas from info.json (#20812)

This commit is contained in:
Ryan 2023-05-09 17:52:03 +10:00 committed by GitHub
parent 2a33265510
commit c3c51231cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 31 additions and 30 deletions

View file

@ -32,7 +32,7 @@
{"pin_a": "D4", "pin_b": "D2", "resolution": 3} {"pin_a": "D4", "pin_b": "D2", "resolution": 3}
] ]
} }
}, }
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View file

@ -66,7 +66,7 @@
{"label": "K32 (B6,B1)", "matrix": [3, 2], "x": 2, "y": 3}, {"label": "K32 (B6,B1)", "matrix": [3, 2], "x": 2, "y": 3},
{"label": "K40 (B5,F4)", "matrix": [4, 0], "x": 0, "y": 4, "w": 2}, {"label": "K40 (B5,F4)", "matrix": [4, 0], "x": 0, "y": 4, "w": 2},
{"label": "K42 (B5,B1)", "matrix": [4, 2], "x": 2, "y": 4} {"label": "K42 (B5,B1)", "matrix": [4, 2], "x": 2, "y": 4}
{"label": "K43 (B5,B2)", "matrix": [4, 3], "x": 3, "y": 3, "h": 2}, {"label": "K43 (B5,B2)", "matrix": [4, 3], "x": 3, "y": 3, "h": 2}
] ]
} }
} }

View file

@ -14,7 +14,7 @@
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"indicators": { "indicators": {
"caps_lock": "C5", "caps_lock": "C5"
}, },
"bootmagic": { "bootmagic": {
"matrix": [3, 6] "matrix": [3, 6]

View file

@ -32,5 +32,5 @@
}, },
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, }
} }

View file

@ -123,5 +123,5 @@
{"label": "K4F (F5,D0)", "matrix": [4, 15], "x": 15, "y": 4} {"label": "K4F (F5,D0)", "matrix": [4, 15], "x": 15, "y": 4}
] ]
} }
}, }
} }

View file

@ -21,7 +21,7 @@
"layout": [ "layout": [
{"label": "Mute", "x": 0, "y": 0, "matrix": [0, 0]}, {"label": "Mute", "x": 0, "y": 0, "matrix": [0, 0]},
{"label": "Next", "x": 1, "y": 0, "matrix": [0, 1]}, {"label": "Next", "x": 1, "y": 0, "matrix": [0, 1]},
{"label": "Push", "x": 3, "y": 0, "matrix": [0, 2]}, {"label": "Push", "x": 3, "y": 0, "matrix": [0, 2]}
] ]
} }
} }

View file

@ -9,7 +9,7 @@
"extrakey": true, "extrakey": true,
"mousekey": true, "mousekey": true,
"nkro": true, "nkro": true,
"rgb_matrix": true, "rgb_matrix": true
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["GP25", "GP24", "GP23", "GP1", "GP7", "GP21", "GP20", "GP19", "GP18", "GP17", "GP16", "GP15", "GP14", "GP13", "GP12"], "cols": ["GP25", "GP24", "GP23", "GP1", "GP7", "GP21", "GP20", "GP19", "GP18", "GP17", "GP16", "GP15", "GP14", "GP13", "GP12"],

View file

@ -30,7 +30,7 @@
"pin": "GP0" "pin": "GP0"
}, },
"indicators": { "indicators": {
"caps_lock": "GP12", "caps_lock": "GP12"
}, },
"layouts": { "layouts": {
"LAYOUT_65_combo": { "LAYOUT_65_combo": {

View file

@ -6,7 +6,7 @@
"usb": { "usb": {
"vid": "0x4753", "vid": "0x4753",
"pid": "0x3003", "pid": "0x3003",
"device_version": "0.0.3", "device_version": "0.0.3"
}, },
"ws2812": { "ws2812": {
"pin": "B10" "pin": "B10"

View file

@ -12,7 +12,7 @@
"mousekey": true, "mousekey": true,
"nkro": true, "nkro": true,
"rgblight": true, "rgblight": true,
"encoder": true, "encoder": true
}, },
"ws2812": { "ws2812": {
"pin": "GP15" "pin": "GP15"
@ -63,7 +63,6 @@
{"matrix": [2, 0], "x": 0, "y": 2}, {"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2}, {"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2} {"matrix": [2, 2], "x": 2, "y": 2}
] ]
} }
} }

View file

@ -11,7 +11,7 @@
"console": true, "console": true,
"rgblight": false, "rgblight": false,
"backlight": false, "backlight": false,
"rgb_matrix": true, "rgb_matrix": true
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["GP0", "GP4", "GP9", "GP8", "GP20", "GP21", "GP23", "GP24", "GP17"], "cols": ["GP0", "GP4", "GP9", "GP8", "GP20", "GP21", "GP23", "GP24", "GP17"],

View file

@ -8,5 +8,5 @@
{"pin_a": "D1", "pin_b": "D0"}, {"pin_a": "D1", "pin_b": "D0"},
{"pin_a": "B2", "pin_b": "B1"} {"pin_a": "B2", "pin_b": "B1"}
] ]
}, }
} }

View file

@ -10,5 +10,5 @@
{"pin_a": "B4", "pin_b": "B3"}, {"pin_a": "B4", "pin_b": "B3"},
{"pin_a": "D4", "pin_b": "B5"} {"pin_a": "D4", "pin_b": "B5"}
] ]
}, }
} }

View file

@ -118,7 +118,7 @@
{"matrix": [3, 0], "x": 0, "y": 64, "flags": 4}, {"matrix": [3, 0], "x": 0, "y": 64, "flags": 4},
{"matrix": [3, 1], "x": 75, "y": 64, "flags": 4}, {"matrix": [3, 1], "x": 75, "y": 64, "flags": 4},
{"matrix": [3, 2], "x": 149, "y": 64, "flags": 4}, {"matrix": [3, 2], "x": 149, "y": 64, "flags": 4},
{"matrix": [3, 3], "x": 224, "y": 64, "flags": 4}, {"matrix": [3, 3], "x": 224, "y": 64, "flags": 4}
] ]
} }
} }

View file

@ -21,13 +21,15 @@
] ]
}, },
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [{"label": "Play", "matrix": [0, 0], "w": 1, "x": 0, "y": 0}, "layout": [
{"label": "Play", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
{"label": "Mute", "matrix": [0, 1], "w": 1, "x": 1.5, "y": 0.5}, {"label": "Mute", "matrix": [0, 1], "w": 1, "x": 1.5, "y": 0.5},
{"label": "Next", "matrix": [1, 0], "w": 1, "x": 0, "y": 1}, {"label": "Next", "matrix": [1, 0], "w": 1, "x": 0, "y": 1},
{"label": "Prev", "matrix": [2, 0], "w": 1, "x": 0, "y": 2}, {"label": "Prev", "matrix": [2, 0], "w": 1, "x": 0, "y": 2},
{"label": "Left", "matrix": [2, 1], "w": 1, "x": 1, "y": 2}, {"label": "Left", "matrix": [2, 1], "w": 1, "x": 1, "y": 2},
{"label": "Rght", "matrix": [2, 2], "w": 1, "x": 2, "y": 2}] {"label": "Rght", "matrix": [2, 2], "w": 1, "x": 2, "y": 2}
}, ]
} }
}
} }

View file

@ -20,7 +20,7 @@
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"], "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["D4", "C6", "D7", "E6", "B4"] "rows": ["D4", "C6", "D7", "E6", "B4"]
} }
}, }
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",

View file

@ -16,7 +16,7 @@
"encoder": { "encoder": {
"rotary": [ "rotary": [
{"pin_a": "D0", "pin_b": "D1"}, {"pin_a": "D0", "pin_b": "D1"},
{"pin_a": "B5", "pin_b": "D6"}, {"pin_a": "B5", "pin_b": "D6"}
] ]
}, },
"ws2812": { "ws2812": {

View file

@ -1,7 +1,7 @@
{ {
"keyboard_name": "Kyria rev3", "keyboard_name": "Kyria rev3",
"usb": { "usb": {
"pid": "0xCF44", "pid": "0xCF44"
}, },
"bootmagic": { "bootmagic": {
"matrix": [0, 6] "matrix": [0, 6]
@ -71,7 +71,7 @@
{"label": "R22", "matrix": [7, 5], "x": 10, "y": 4}, {"label": "R22", "matrix": [7, 5], "x": 10, "y": 4},
{"label": "R23", "matrix": [7, 1], "x": 11, "y": 3.5}, {"label": "R23", "matrix": [7, 1], "x": 11, "y": 3.5},
{"label": "R24", "matrix": [7, 2], "x": 12, "y": 3.25}, {"label": "R24", "matrix": [7, 2], "x": 12, "y": 3.25},
{"label": "R25", "matrix": [7, 4], "x": 13, "y": 3.25}, {"label": "R25", "matrix": [7, 4], "x": 13, "y": 3.25}
] ]
}, },
"LAYOUT_stack": { "LAYOUT_stack": {
@ -132,7 +132,7 @@
{"label": "R22", "matrix": [7, 5], "x": 10, "y": 4}, {"label": "R22", "matrix": [7, 5], "x": 10, "y": 4},
{"label": "R23", "matrix": [7, 1], "x": 11, "y": 3.5}, {"label": "R23", "matrix": [7, 1], "x": 11, "y": 3.5},
{"label": "R24", "matrix": [7, 2], "x": 12, "y": 3.25}, {"label": "R24", "matrix": [7, 2], "x": 12, "y": 3.25},
{"label": "R25", "matrix": [7, 4], "x": 13, "y": 3.25}, {"label": "R25", "matrix": [7, 4], "x": 13, "y": 3.25}
] ]
} }
}, },

View file

@ -237,7 +237,7 @@
{"label": "K33", "matrix": [3, 3], "x": 3, "y": 3}, {"label": "K33", "matrix": [3, 3], "x": 3, "y": 3},
{"label": "K40", "matrix": [4, 0], "h": 2, "x": 0, "y": 3}, {"label": "K40", "matrix": [4, 0], "h": 2, "x": 0, "y": 3},
{"label": "K41", "matrix": [4, 1], "x": 1, "y": 4}, {"label": "K41", "matrix": [4, 1], "x": 1, "y": 4},
{"label": "K42", "matrix": [4, 2], "w": 2, "x": 2, "y": 4}, {"label": "K42", "matrix": [4, 2], "w": 2, "x": 2, "y": 4}
] ]
} }
} }

View file

@ -16,7 +16,7 @@
"encoder": { "encoder": {
"rotary": [ "rotary": [
{"pin_a": "B4", "pin_b": "B5"}, {"pin_a": "B4", "pin_b": "B5"},
{"pin_a": "B3", "pin_b": "B2", "resolution": 2}, {"pin_a": "B3", "pin_b": "B2", "resolution": 2}
] ]
}, },
"split": { "split": {

View file

@ -10,7 +10,7 @@
"console": false, "console": false,
"extrakey": false, "extrakey": false,
"mousekey": false, "mousekey": false,
"nkro": false, "nkro": false
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B4", "B5", "C5", "C4", "C3", "C2", "C1", "C0"], "cols": ["B0", "B1", "B2", "B3", "B4", "B5", "C5", "C4", "C3", "C2", "C1", "C0"],

View file

@ -22,7 +22,7 @@
"console": false, "console": false,
"command": false, "command": false,
"nkro": true, "nkro": true,
"rgb_matrix": true, "rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "E2" "pin": "E2"
@ -58,6 +58,6 @@
{"flags": 4, "matrix": [2, 1], "x": 32, "y": 64}, //2 {"flags": 4, "matrix": [2, 1], "x": 32, "y": 64}, //2
{"flags": 4, "matrix": [2, 0], "x": 0, "y": 64} //3 {"flags": 4, "matrix": [2, 0], "x": 0, "y": 64} //3
], ],
"center_point": [32, 32], "center_point": [32, 32]
} }
} }