diff options
Diffstat (limited to 'keyboards/chromatonemini/info.json')
-rw-r--r-- | keyboards/chromatonemini/info.json | 100 |
1 files changed, 56 insertions, 44 deletions
diff --git a/keyboards/chromatonemini/info.json b/keyboards/chromatonemini/info.json index c4307fe988..cb36157afe 100644 --- a/keyboards/chromatonemini/info.json +++ b/keyboards/chromatonemini/info.json @@ -17,6 +17,12 @@ "rgblight": false, "audio": false }, + "ws2812": { + "pin": "D3" + }, + "rgb_matrix": { + "driver": "WS2812" + }, "diode_direction": "COL2ROW", "matrix_pins": { "cols": [ "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6" ], @@ -27,52 +33,58 @@ "pid": "0xF4B4", "device_version": "0.0.1" }, - "layouts": { + "layouts": { "LAYOUT": { "layout": [ - {"label":"enc", "x":0.5, "y":0}, - {"label":"sustain", "x":1.5, "y":0}, - {"label":"up", "x":0.5, "y":1.5}, - {"label":"left", "x":0, "y":2.5}, - {"label":"right", "x":1, "y":2.5}, - {"label":"k01", "x":2.5, "y":2.5}, - {"label":"k03", "x":3.5, "y":2.5}, - {"label":"k05", "x":4.5, "y":2.5}, - {"label":"k07", "x":5.5, "y":2.5}, - {"label":"k09", "x":6.5, "y":2.5}, - {"label":"k11", "x":7.5, "y":2.5}, - {"label":"k13", "x":8.5, "y":2.5}, - {"label":"k15", "x":9.5, "y":2.5}, - {"label":"k17", "x":10.5, "y":2.5}, - {"label":"k19", "x":11.5, "y":2.5}, - {"label":"k21", "x":12.5, "y":2.5}, - {"label":"k23", "x":13.5, "y":2.5}, - {"label":"k25", "x":14.5, "y":2.5}, - {"label":"k27", "x":15.5, "y":2.5}, - {"label":"k29", "x":16.5, "y":2.5}, - {"label":"k31", "x":17.5, "y":2.5}, - {"label":"k33", "x":18.5, "y":2.5}, - {"label":"k35", "x":19.5, "y":2.5}, - {"label":"k37", "x":20.5, "y":2.5}, - {"label":"down", "x":0.5, "y":3.5}, - {"label":"k02", "x":3, "y":3.5}, - {"label":"k04", "x":4, "y":3.5}, - {"label":"k06", "x":5, "y":3.5}, - {"label":"k08", "x":6, "y":3.5}, - {"label":"k10", "x":7, "y":3.5}, - {"label":"k12", "x":8, "y":3.5}, - {"label":"k14", "x":9, "y":3.5}, - {"label":"k16", "x":10, "y":3.5}, - {"label":"k18", "x":11, "y":3.5}, - {"label":"k20", "x":12, "y":3.5}, - {"label":"k22", "x":13, "y":3.5}, - {"label":"k24", "x":14, "y":3.5}, - {"label":"k26", "x":15, "y":3.5}, - {"label":"k28", "x":16, "y":3.5}, - {"label":"k30", "x":17, "y":3.5}, - {"label":"k32", "x":18, "y":3.5}, - {"label":"k34", "x":19, "y":3.5}, - {"label":"k36", "x":20, "y":3.5}] + {"matrix": [0, 0], "x": 0.5, "y": 0}, + {"matrix": [0, 7], "x": 1.5, "y": 0}, + + {"matrix": [0, 4], "x": 0.5, "y": 1.5}, + + {"matrix": [0, 2], "x": 0, "y": 2.5}, + {"matrix": [0, 3], "x": 1, "y": 2.5}, + + {"matrix": [0, 5], "x": 2.5, "y": 2.5}, + {"matrix": [1, 0], "x": 3.5, "y": 2.5}, + {"matrix": [1, 2], "x": 4.5, "y": 2.5}, + {"matrix": [1, 4], "x": 5.5, "y": 2.5}, + {"matrix": [1, 6], "x": 6.5, "y": 2.5}, + {"matrix": [2, 1], "x": 7.5, "y": 2.5}, + {"matrix": [2, 3], "x": 8.5, "y": 2.5}, + {"matrix": [2, 5], "x": 9.5, "y": 2.5}, + {"matrix": [3, 0], "x": 10.5, "y": 2.5}, + {"matrix": [3, 2], "x": 11.5, "y": 2.5}, + {"matrix": [3, 4], "x": 12.5, "y": 2.5}, + {"matrix": [3, 6], "x": 13.5, "y": 2.5}, + {"matrix": [4, 1], "x": 14.5, "y": 2.5}, + {"matrix": [4, 3], "x": 15.5, "y": 2.5}, + {"matrix": [4, 5], "x": 16.5, "y": 2.5}, + {"matrix": [5, 0], "x": 17.5, "y": 2.5}, + {"matrix": [5, 2], "x": 18.5, "y": 2.5}, + {"matrix": [5, 4], "x": 19.5, "y": 2.5}, + {"matrix": [5, 6], "x": 20.5, "y": 2.5}, + + {"matrix": [0, 1], "x": 0.5, "y": 3.5}, + + {"matrix": [0, 6], "x": 3, "y": 3.5}, + {"matrix": [1, 1], "x": 4, "y": 3.5}, + {"matrix": [1, 3], "x": 5, "y": 3.5}, + {"matrix": [1, 5], "x": 6, "y": 3.5}, + {"matrix": [2, 0], "x": 7, "y": 3.5}, + {"matrix": [2, 2], "x": 8, "y": 3.5}, + {"matrix": [2, 4], "x": 9, "y": 3.5}, + {"matrix": [2, 6], "x": 10, "y": 3.5}, + {"matrix": [3, 1], "x": 11, "y": 3.5}, + {"matrix": [3, 3], "x": 12, "y": 3.5}, + {"matrix": [3, 5], "x": 13, "y": 3.5}, + {"matrix": [4, 0], "x": 14, "y": 3.5}, + {"matrix": [4, 2], "x": 15, "y": 3.5}, + {"matrix": [4, 4], "x": 16, "y": 3.5}, + {"matrix": [4, 6], "x": 17, "y": 3.5}, + {"matrix": [5, 1], "x": 18, "y": 3.5}, + {"matrix": [5, 3], "x": 19, "y": 3.5}, + {"matrix": [5, 5], "x": 20, "y": 3.5} + ] } }, "encoder": { |