From fa2e6be4170d407bba0035d2140f6116cf17fe32 Mon Sep 17 00:00:00 2001 From: plodah Date: Wed, 30 Oct 2024 15:01:23 +0000 Subject: [PATCH] Use a grid like the original winry json --- .../winry315/keymaps/plodah/winry315.via.json | 506 ++++++++---------- 1 file changed, 237 insertions(+), 269 deletions(-) diff --git a/keyboards/winry/winry315/keymaps/plodah/winry315.via.json b/keyboards/winry/winry315/keymaps/plodah/winry315.via.json index 46a24b5633d..99396acac09 100644 --- a/keyboards/winry/winry315/keymaps/plodah/winry315.via.json +++ b/keyboards/winry/winry315/keymaps/plodah/winry315.via.json @@ -1,274 +1,242 @@ { - "name": "Winry315", - "vendorId": "0xF1F1", - "productId": "0x0315", - "keycodes": ["qmk_lighting"], - "menus": ["qmk_rgb_matrix"], - "matrix": {"rows": 1, "cols": 24}, - "layouts": { - "labels": [["Encoder Side", "Top", "Left", "Right", "Bottom"]], - "keymap": [ - [ - { - "d": true - }, - "\n\n\n0,0", - { - "x": 4.5, - "d": true - }, - "\n\n\n0,1", - { - "x": 4.5, - "d": true - }, - "\n\n\n0,2", - { - "x": 4.5, - "d": true - }, - "\n\n\n0,3" - ], - [ - { - "y": -0.75, - "x": 7.75 - }, - "0,4\n\n\n0,1", - "0,9\n\n\n0,1", - "0,14\n\n\n0,1", - { - "x": 0.5 - }, - "0,10\n\n\n0,2", - "0,5\n\n\n0,2", - "0,0\n\n\n0,2", - { - "x": 2.5 - }, - "0,14\n\n\n0,3", - "0,13\n\n\n0,3", - "0,12\n\n\n0,3", - "0,11\n\n\n0,3", - "0,10\n\n\n0,3" - ], - [ - { - "y": -0.85, - "x": 1.9, - "c": "#777777", - "w": 1.7, - "h": 1.7 - }, - "0,15\n\n\n0,0\n\n\n\n\n\ne1", - { - "x": 2.45, - "w": 1.4, - "h": 1.4 - }, - "0,16\n\n\n0,1\n\n\n\n\n\ne2", - { - "x": 7.100000000000001, - "w": 1.4, - "h": 1.4 - }, - "0,17\n\n\n0,2\n\n\n\n\n\ne0" - ], - [ - { - "y": -0.8499999999999999, - "x": 0.4, - "w": 1.4, - "h": 1.4 - }, - "0,17\n\n\n0,0\n\n\n\n\n\ne0", - { - "x": 1.9000000000000004, - "w": 1.4, - "h": 1.4 - }, - "0,16\n\n\n0,0\n\n\n\n\n\ne2" - ], - [ - { - "y": -0.30000000000000004, - "x": 7.75, - "c": "#cccccc" - }, - "0,3\n\n\n0,1", - "0,8\n\n\n0,1", - "0,13\n\n\n0,1", - { - "x": 0.5 - }, - "0,11\n\n\n0,2", - "0,6\n\n\n0,2", - "0,1\n\n\n0,2", - { - "x": 2.5 - }, - "0,9\n\n\n0,3", - "0,8\n\n\n0,3", - "0,7\n\n\n0,3", - "0,6\n\n\n0,3", - "0,5\n\n\n0,3" - ], - [ - { - "y": -0.3500000000000001, - "x": 5.9, - "c": "#777777", - "w": 1.7, - "h": 1.7 - }, - "0,15\n\n\n0,1\n\n\n\n\n\ne1", - { - "x": 6.8, - "w": 1.7, - "h": 1.7 - }, - "0,15\n\n\n0,2\n\n\n\n\n\ne1" - ], - [ - { - "y": -0.6499999999999999, - "x": 0.25, - "c": "#cccccc" - }, - "0,0\n\n\n0,0", - "0,1\n\n\n0,0", - "0,2\n\n\n0,0", - "0,3\n\n\n0,0", - "0,4\n\n\n0,0", - { - "x": 2.5 - }, - "0,2\n\n\n0,1", - "0,7\n\n\n0,1", - "0,12\n\n\n0,1", - { - "x": 0.5 - }, - "0,12\n\n\n0,2", - "0,7\n\n\n0,2", - "0,2\n\n\n0,2", - { - "x": 2.5 - }, - "0,4\n\n\n0,3", - "0,3\n\n\n0,3", - "0,2\n\n\n0,3", - "0,1\n\n\n0,3", - "0,0\n\n\n0,3" - ], - [ - { - "x": 0.25 - }, - "0,5\n\n\n0,0", - "0,6\n\n\n0,0", - "0,7\n\n\n0,0", - "0,8\n\n\n0,0", - "0,9\n\n\n0,0", - { - "x": 2.5 - }, - "0,1\n\n\n0,1", - "0,6\n\n\n0,1", - "0,11\n\n\n0,1", - { - "x": 0.5 - }, - "0,13\n\n\n0,2", - "0,8\n\n\n0,2", - "0,3\n\n\n0,2" - ], - [ - { - "y": -0.8500000000000001, - "x": 18.4, - "c": "#777777", - "w": 1.7, - "h": 1.7 - }, - "0,15\n\n\n0,3\n\n\n\n\n\ne1" - ], - [ - { - "y": -0.8500000000000005, - "x": 16.9, - "w": 1.4, - "h": 1.4 - }, - "0,16\n\n\n0,3\n\n\n\n\n\ne2", - { - "x": 1.9000000000000021, - "w": 1.4, - "h": 1.4 - }, - "0,17\n\n\n0,3\n\n\n\n\n\ne0" - ], - [ - { - "y": -0.8499999999999996, - "x": 6.05, - "w": 1.4, - "h": 1.4 - }, - "0,17\n\n\n0,1\n\n\n\n\n\ne0", - { - "x": 7.100000000000001, - "w": 1.4, - "h": 1.4 - }, - "0,16\n\n\n0,2\n\n\n\n\n\ne2" - ], - [ - { - "y": -0.4500000000000002, - "x": 0.25, - "c": "#cccccc" - }, - "0,10\n\n\n0,0", - "0,11\n\n\n0,0", - "0,12\n\n\n0,0", - "0,13\n\n\n0,0", - "0,14\n\n\n0,0", - { - "x": 2.5 - }, - "0,0\n\n\n0,1", - "0,5\n\n\n0,1", - "0,10\n\n\n0,1", - { - "x": 0.5 - }, - "0,14\n\n\n0,2", - "0,9\n\n\n0,2", - "0,4\n\n\n0,2" - ], - [ - { - "y": -0.75, - "x": 4.5, - "d": true - }, - "\n\n\n0,0", - { - "x": 4.5, - "d": true - }, - "\n\n\n0,1", - { - "x": 4.5, - "d": true - }, - "\n\n\n0,2", - { - "x": 4.5, - "d": true - }, + "name": "Winry315", + "vendorId": "0xF1F1", + "productId": "0x0315", + "keycodes": ["qmk_lighting"], + "menus": ["qmk_rgb_matrix"], + "matrix": {"rows": 1, "cols": 24}, + "layouts": { + "labels": [["Encoder Side", "Top", "Left", "Right", "Bottom"]], + "keymap": [ + [ + { + "y": 0.25, + "x": 0.25, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,17\n\n\n0,0\n\n\n\n\n\ne0", + { + "x": 0.25, + "w": 1.5, + "h": 1.5 + }, + "0,15\n\n\n0,0\n\n\n\n\n\ne1", + { + "x": 0.25, + "w": 1.5, + "h": 1.5 + }, + "0,16\n\n\n0,0\n\n\n\n\n\ne2", + { + "x": 0.5, + "w": 1.5, + "h": 1.5 + }, + "0,16\n\n\n0,1\n\n\n\n\n\ne2", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,4\n\n\n0,1", + "0,9\n\n\n0,1", + "0,14\n\n\n0,1" + ], + [ + { + "x": 7.75 + }, + "0,3\n\n\n0,1", + "0,8\n\n\n0,1", + "0,13\n\n\n0,1" + ], + [ + { + "y": -0.25, + "x": 5.75, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,15\n\n\n0,1\n\n\n\n\n\ne1" + ], + [ + { + "y": -0.75, + "x": 0.25, + "c": "#cccccc" + }, + "0,0\n\n\n0,0", + "0,1\n\n\n0,0", + "0,2\n\n\n0,0", + "0,3\n\n\n0,0", + "0,4\n\n\n0,0", + { + "x": 2.5 + }, + "0,2\n\n\n0,1", + "0,7\n\n\n0,1", + "0,12\n\n\n0,1" + ], + [ + { + "x": 0.25 + }, + "0,5\n\n\n0,0", + "0,6\n\n\n0,0", + "0,7\n\n\n0,0", + "0,8\n\n\n0,0", + "0,9\n\n\n0,0", + { + "x": 2.5 + }, + "0,1\n\n\n0,1", + "0,6\n\n\n0,1", + "0,11\n\n\n0,1" + ], + [ + { + "y": -0.5, + "x": 5.75, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,17\n\n\n0,1\n\n\n\n\n\ne0" + ], + [ + { + "y": -0.5, + "x": 0.25, + "c": "#cccccc" + }, + "0,10\n\n\n0,0", + "0,11\n\n\n0,0", + "0,12\n\n\n0,0", + "0,13\n\n\n0,0", + "0,14\n\n\n0,0", + { + "x": 2.5 + }, + "0,0\n\n\n0,1", + "0,5\n\n\n0,1", + "0,10\n\n\n0,1" + ], + [ + { + "y": 0.5, + "x": 0.25 + }, + "0,10\n\n\n0,2", + "0,5\n\n\n0,2", + "0,0\n\n\n0,2", + { + "x": 0.5, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,17\n\n\n0,2\n\n\n\n\n\ne0", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,14\n\n\n0,3", + "0,13\n\n\n0,3", + "0,12\n\n\n0,3", + "0,11\n\n\n0,3", + "0,10\n\n\n0,3" + ], + [ + { + "x": 0.25 + }, + "0,11\n\n\n0,2", + "0,6\n\n\n0,2", + "0,1\n\n\n0,2", + { + "x": 2.5 + }, + "0,9\n\n\n0,3", + "0,8\n\n\n0,3", + "0,7\n\n\n0,3", + "0,6\n\n\n0,3", + "0,5\n\n\n0,3" + ], + [ + { + "y": -0.25, + "x": 3.75, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,15\n\n\n0,2\n\n\n\n\n\ne1" + ], + [ + { + "y": -0.75, + "x": 0.25, + "c": "#cccccc" + }, + "0,12\n\n\n0,2", + "0,7\n\n\n0,2", + "0,2\n\n\n0,2", + { + "x": 2.5 + }, + "0,4\n\n\n0,3", + "0,3\n\n\n0,3", + "0,2\n\n\n0,3", + "0,1\n\n\n0,3", "0,0\n\n\n0,3" + ], + [ + { + "x": 0.25 + }, + "0,13\n\n\n0,2", + "0,8\n\n\n0,2", + "0,3\n\n\n0,2" + ], + [ + { + "y": -0.5, + "x": 3.75, + "c": "#777777", + "w": 1.5, + "h": 1.5 + }, + "0,16\n\n\n0,2\n\n\n\n\n\ne2", + { + "x": 0.5, + "w": 1.5, + "h": 1.5 + }, + "0,16\n\n\n0,3\n\n\n\n\n\ne2", + { + "x": 0.25, + "w": 1.5, + "h": 1.5 + }, + "0,15\n\n\n0,3\n\n\n\n\n\ne1", + { + "x": 0.25, + "w": 1.5, + "h": 1.5 + }, + "0,17\n\n\n0,3\n\n\n\n\n\ne0" + ], + [ + { + "y": -0.5, + "x": 0.25, + "c": "#cccccc" + }, + "0,14\n\n\n0,2", + "0,9\n\n\n0,2", + "0,4\n\n\n0,2" ] ] }