From 172a40686b84af7f887350a20c526855c7f7649c Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 15 Apr 2023 21:08:15 +1000 Subject: Move single `LAYOUT_all`s to data driven (#20430) --- keyboards/h0oni/deskpad/info.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'keyboards/h0oni/deskpad/info.json') diff --git a/keyboards/h0oni/deskpad/info.json b/keyboards/h0oni/deskpad/info.json index 6a8282511b..c969f4a00c 100644 --- a/keyboards/h0oni/deskpad/info.json +++ b/keyboards/h0oni/deskpad/info.json @@ -23,12 +23,15 @@ "debounce": 3, "layouts": { "LAYOUT_all": { - "layout": [{"label":"k1", "x":0, "y":0}, - {"label":"k2", "x":1, "y":0}, - {"label":"k3", "x":2, "y":0}, - {"label":"k4", "x":3, "y":0}, - {"label":"k5", "x":4, "y":0}, - {"label":"k6", "x":6, "y":0}] + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [1, 0], "x": 3, "y": 0}, + {"matrix": [1, 1], "x": 4, "y": 0}, + + {"matrix": [1, 2], "x": 6, "y": 0} + ] } } } -- cgit v1.2.3