diff options
Diffstat (limited to 'keyboards/soda/pocket/info.json')
-rw-r--r-- | keyboards/soda/pocket/info.json | 230 |
1 files changed, 56 insertions, 174 deletions
diff --git a/keyboards/soda/pocket/info.json b/keyboards/soda/pocket/info.json index b91f795b04..1c64881183 100644 --- a/keyboards/soda/pocket/info.json +++ b/keyboards/soda/pocket/info.json @@ -8,184 +8,66 @@ "pid": "0x4F51", "device_version": "1.0.2" }, + "ws2812": { + "pin": "C15" + }, + "rgb_matrix": { + "driver": "WS2812" + }, + "matrix_pins": { + "cols": ["A2", "A1", "B14", "B4", "B5", "B6", "B7"], + "rows": ["A7", "B0", "B1", "B2", "B10", "B11"] + }, + "diode_direction": "ROW2COL", "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { "LAYOUT": { - "layout": [ - { - "label": "PrtSc", - "x": 0, - "y": 0.25 - }, - { - "label": "Scroll Lock", - "x": 1, - "y": 0.25 - }, - { - "label": "Pause", - "x": 2, - "y": 0.25 - }, - { - "label": "Num Lock", - "x": 3.25, - "y": 0.25 - }, - { - "label": "/", - "x": 4.25, - "y": 0.25 - }, - { - "label": "*", - "x": 5.25, - "y": 0.25 - }, - { - "label": "-", - "x": 6.25, - "y": 0.25 - }, - { - "label": "Insert", - "x": 0, - "y": 1.5 - }, - { - "label": "Home", - "x": 1, - "y": 1.5 - }, - { - "label": "PgUp", - "x": 2, - "y": 1.5 - }, - { - "label": "Num Lock", - "x": 3.25, - "y": 1.5 - }, - { - "label": "/", - "x": 4.25, - "y": 1.5 - }, - { - "label": "*", - "x": 5.25, - "y": 1.5 - }, - { - "label": "-", - "x": 6.25, - "y": 1.5 - }, - { - "label": "Delete", - "x": 0, - "y": 2.5 - }, - { - "label": "End", - "x": 1, - "y": 2.5 - }, - { - "label": "PgDn", - "x": 2, - "y": 2.5 - }, - { - "label": "7", - "x": 3.25, - "y": 2.5 - }, - { - "label": "8", - "x": 4.25, - "y": 2.5 - }, - { - "label": "9", - "x": 5.25, - "y": 2.5 - }, - { - "label": "+", - "x": 6.25, - "y": 2.5, - "h": 2 - }, - { - "label": "4", - "x": 3.25, - "y": 3.5 - }, - { - "label": "5", - "x": 4.25, - "y": 3.5 - }, - { - "label": "6", - "x": 5.25, - "y": 3.5 - }, - { - "label": "\u2191", - "x": 1, - "y": 4.5 - }, - { - "label": "1", - "x": 3.25, - "y": 4.5 - }, - { - "label": "2", - "x": 4.25, - "y": 4.5 - }, - { - "label": "3", - "x": 5.25, - "y": 4.5 - }, - { - "label": "Enter", - "x": 6.25, - "y": 4.5, - "h": 2 - }, - { - "label": "\u2190", - "x": 0, - "y": 5.5 - }, - { - "label": "\u2193", - "x": 1, - "y": 5.5 - }, - { - "label": "\u2192", - "x": 2, - "y": 5.5 - }, - { - "label": "0", - "x": 3.25, - "y": 5.5, - "w": 2 - }, - { - "label": ".", - "x": 5.25, - "y": 5.5 - } + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + {"matrix": [0, 5], "x": 5.25, "y": 0}, + {"matrix": [0, 6], "x": 6.25, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + + {"matrix": [1, 3], "x": 3.25, "y": 1.25}, + {"matrix": [1, 4], "x": 4.25, "y": 1.25}, + {"matrix": [1, 5], "x": 5.25, "y": 1.25}, + {"matrix": [1, 6], "x": 6.25, "y": 1.25}, + + {"matrix": [2, 0], "x": 0, "y": 2.25}, + {"matrix": [2, 1], "x": 1, "y": 2.25}, + {"matrix": [2, 2], "x": 2, "y": 2.25}, + + {"matrix": [2, 3], "x": 3.25, "y": 2.25}, + {"matrix": [2, 4], "x": 4.25, "y": 2.25}, + {"matrix": [2, 5], "x": 5.25, "y": 2.25}, + {"matrix": [3, 3], "x": 6.25, "y": 2.25, "h": 2}, + + {"matrix": [3, 4], "x": 3.25, "y": 3.25}, + {"matrix": [3, 5], "x": 4.25, "y": 3.25}, + {"matrix": [3, 6], "x": 5.25, "y": 3.25}, + + {"matrix": [4, 1], "x": 1, "y": 4.25}, + + {"matrix": [4, 3], "x": 3.25, "y": 4.25}, + {"matrix": [4, 4], "x": 4.25, "y": 4.25}, + {"matrix": [4, 5], "x": 5.25, "y": 4.25}, + {"matrix": [5, 0], "x": 6.25, "y": 4.25, "h": 2}, + + {"matrix": [5, 1], "x": 0, "y": 5.25}, + {"matrix": [5, 2], "x": 1, "y": 5.25}, + {"matrix": [5, 4], "x": 2, "y": 5.25}, + + {"matrix": [5, 5], "x": 3.25, "y": 5.25, "w": 2}, + {"matrix": [5, 6], "x": 5.25, "y": 5.25} ] } } |