From 5b9d208ee10e4416a60e2f16a0a1b4be614b58d0 Mon Sep 17 00:00:00 2001 From: takashicompany Date: Tue, 19 Nov 2024 18:00:05 +0900 Subject: [PATCH] format json --- .../takashicompany/left_slinger/keyboard.json | 210 ++---------------- 1 file changed, 24 insertions(+), 186 deletions(-) diff --git a/keyboards/takashicompany/left_slinger/keyboard.json b/keyboards/takashicompany/left_slinger/keyboard.json index 872662456aa..370623eb59c 100644 --- a/keyboards/takashicompany/left_slinger/keyboard.json +++ b/keyboards/takashicompany/left_slinger/keyboard.json @@ -6,10 +6,7 @@ "diode_direction": "COL2ROW", "encoder": { "rotary": [ - { - "pin_a": "GP14", - "pin_b": "GP15" - } + {"pin_a": "GP14", "pin_b": "GP15"} ] }, "features": { @@ -22,20 +19,8 @@ "nkro": true }, "matrix_pins": { - "cols": [ - "GP5", - "GP6", - "GP7" - ], - "rows": [ - "GP8", - "GP9", - "GP10", - "GP11", - "GP12", - "GP13", - "GP0" - ] + "cols": ["GP5", "GP6", "GP7"], + "rows": ["GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP0"] }, "processor": "RP2040", "url": "", @@ -47,174 +32,27 @@ "layouts": { "LAYOUT": { "layout": [ - { - "matrix": [ - 0, - 0 - ], - "x": 1, - "y": 0 - }, - { - "matrix": [ - 0, - 1 - ], - "x": 2, - "y": 0 - }, - { - "matrix": [ - 0, - 2 - ], - "x": 3, - "y": 0 - }, - { - "matrix": [ - 1, - 0 - ], - "x": 0, - "y": 1 - }, - { - "matrix": [ - 1, - 1 - ], - "x": 1, - "y": 1 - }, - { - "matrix": [ - 1, - 2 - ], - "x": 2, - "y": 1 - }, - { - "matrix": [ - 2, - 0 - ], - "x": 3, - "y": 1 - }, - { - "matrix": [ - 3, - 0 - ], - "x": 0, - "y": 2 - }, - { - "matrix": [ - 3, - 1 - ], - "x": 1, - "y": 2 - }, - { - "matrix": [ - 3, - 2 - ], - "x": 2, - "y": 2 - }, - { - "matrix": [ - 2, - 1 - ], - "x": 3, - "y": 2 - }, - { - "matrix": [ - 2, - 2 - ], - "x": 4.25, - "y": 2 - }, - { - "matrix": [ - 4, - 0 - ], - "x": 1, - "y": 3.25 - }, - { - "matrix": [ - 4, - 1 - ], - "x": 2, - "y": 3.25 - }, - { - "matrix": [ - 4, - 2 - ], - "x": 3, - "y": 3.25 - }, - { - "matrix": [ - 6, - 0 - ], - "x": 4.25, - "y": 3.25 - }, - { - "matrix": [ - 6, - 1 - ], - "x": 5.25, - "y": 3.25 - }, - { - "matrix": [ - 5, - 0 - ], - "x": 1, - "y": 4.25 - }, - { - "matrix": [ - 5, - 1 - ], - "x": 2, - "y": 4.25 - }, - { - "matrix": [ - 5, - 2 - ], - "x": 3, - "y": 4.25 - }, - { - "matrix": [ - 6, - 2 - ], - "x": 4.25, - "y": 4.25 - } + {"matrix": [0, 0], "x": 1, "y": 0}, + {"matrix": [0, 1], "x": 2, "y": 0}, + {"matrix": [0, 2], "x": 3, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [2, 0], "x": 3, "y": 1}, + {"matrix": [3, 0], "x": 0, "y": 2}, + {"matrix": [3, 1], "x": 1, "y": 2}, + {"matrix": [3, 2], "x": 2, "y": 2}, + {"matrix": [2, 1], "x": 3, "y": 2}, + {"matrix": [2, 2], "x": 4.25, "y": 2}, + {"matrix": [4, 0], "x": 1, "y": 3.25}, + {"matrix": [4, 1], "x": 2, "y": 3.25}, + {"matrix": [4, 2], "x": 3, "y": 3.25}, + {"matrix": [6, 0], "x": 4.25, "y": 3.25}, + {"matrix": [6, 1], "x": 5.25, "y": 3.25}, + {"matrix": [5, 0], "x": 1, "y": 4.25}, + {"matrix": [5, 1], "x": 2, "y": 4.25}, + {"matrix": [5, 2], "x": 3, "y": 4.25}, + {"matrix": [6, 2], "x": 4.25, "y": 4.25} ] } }