From c9e19fe6fc56e4377f43d8f56fc49797b5f4b127 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:19:27 -0800 Subject: [PATCH] KeebsForAll Freebird Numpad Pro: fix Configurator key positioning (#16303) * info.json: apply friendly formatting * info.json: fix key positioning Fixes the second row being rendered on top of the first row. --- .../keebsforall/freebirdnp/pro/info.json | 283 ++++-------------- 1 file changed, 55 insertions(+), 228 deletions(-) diff --git a/keyboards/keebsforall/freebirdnp/pro/info.json b/keyboards/keebsforall/freebirdnp/pro/info.json index 5aa40c4a6d..ed2a6e0b41 100644 --- a/keyboards/keebsforall/freebirdnp/pro/info.json +++ b/keyboards/keebsforall/freebirdnp/pro/info.json @@ -6,238 +6,65 @@ "layouts": { "LAYOUT_numpad_6x4": { "layout": [ - { - "label": "F1", - "x": 0, - "y": 1 - }, - { - "label": "F2", - "x": 1, - "y": 1 - }, - { - "label": "F3", - "x": 2, - "y": 1 - }, - { - "label": "MUTE", - "x": 3, - "y": 1 - }, - { - "label": "Num Lock", - "x": 0, - "y": 1 - }, - { - "label": "/", - "x": 1, - "y": 1 - }, - { - "label": "*", - "x": 2, - "y": 1 - }, - { - "label": "-", - "x": 3, - "y": 1 - }, - { - "label": "7", - "x": 0, - "y": 2 - }, - { - "label": "8", - "x": 1, - "y": 2 - }, - { - "label": "9", - "x": 2, - "y": 2 - }, - { - "label": "4", - "x": 0, - "y": 3 - }, - { - "label": "5", - "x": 1, - "y": 3 - }, - { - "label": "6", - "x": 2, - "y": 3 - }, - { - "label": "+", - "x": 3, - "y": 2, - "h": 2 - }, - { - "label": "1", - "x": 0, - "y": 4 - }, - { - "label": "2", - "x": 1, - "y": 4 - }, - { - "label": "3", - "x": 2, - "y": 4 - }, - { - "label": "0", - "x": 0, - "y": 5, - "w": 2 - }, - { - "label": ".", - "x": 2, - "y": 5 - }, - { - "label": "Enter", - "x": 3, - "y": 4, - "h": 2 - } + {"label":"F1", "x":0, "y":0}, + {"label":"F2", "x":1, "y":0}, + {"label":"F3", "x":2, "y":0}, + {"label":"MUTE", "x":3, "y":0}, + + {"label":"Num Lock", "x":0, "y":1}, + {"label":"/", "x":1, "y":1}, + {"label":"*", "x":2, "y":1}, + {"label":"-", "x":3, "y":1}, + + {"label":"7", "x":0, "y":2}, + {"label":"8", "x":1, "y":2}, + {"label":"9", "x":2, "y":2}, + + {"label":"4", "x":0, "y":3}, + {"label":"5", "x":1, "y":3}, + {"label":"6", "x":2, "y":3}, + {"label":"+", "x":3, "y":2, "h":2}, + + {"label":"1", "x":0, "y":4}, + {"label":"2", "x":1, "y":4}, + {"label":"3", "x":2, "y":4}, + + {"label":"0", "x":0, "y":5, "w":2}, + {"label":".", "x":2, "y":5}, + {"label":"Enter", "x":3, "y":4, "h":2} ] }, "LAYOUT_ortho_6x4": { "layout": [ - { - "label": "F1", - "x": 0, - "y": 1 - }, - { - "label": "F2", - "x": 1, - "y": 1 - }, - { - "label": "F3", - "x": 2, - "y": 1 - }, - { - "label": "MUTE", - "x": 3, - "y": 1 - }, - { - "label": "Num Lock", - "x": 0, - "y": 1 - }, - { - "label": "/", - "x": 1, - "y": 1 - }, - { - "label": "*", - "x": 2, - "y": 1 - }, - { - "label": "-", - "x": 3, - "y": 1 - }, - { - "label": "7", - "x": 0, - "y": 2 - }, - { - "label": "8", - "x": 1, - "y": 2 - }, - { - "label": "9", - "x": 2, - "y": 2 - }, - { - "label": "+", - "x": 3, - "y": 2 - }, - { - "label": "4", - "x": 0, - "y": 3 - }, - { - "label": "5", - "x": 1, - "y": 3 - }, - { - "label": "6", - "x": 2, - "y": 3 - }, - { - "label": "+", - "x": 3, - "y": 3 - }, - { - "label": "1", - "x": 0, - "y": 4 - }, - { - "label": "2", - "x": 1, - "y": 4 - }, - { - "label": "3", - "x": 2, - "y": 4 - }, - { - "label": "Enter", - "x": 3, - "y": 4 - }, - { - "label": "0", - "x": 0, - "y": 5 - }, - { - "label": "00", - "x": 1, - "y": 5 - }, - { - "label": ".", - "x": 2, - "y": 5 - }, - { - "label": "Enter", - "x": 3, - "y": 5 - } + {"label":"F1", "x":0, "y":0}, + {"label":"F2", "x":1, "y":0}, + {"label":"F3", "x":2, "y":0}, + {"label":"MUTE", "x":3, "y":0}, + + {"label":"Num Lock", "x":0, "y":1}, + {"label":"/", "x":1, "y":1}, + {"label":"*", "x":2, "y":1}, + {"label":"-", "x":3, "y":1}, + + {"label":"7", "x":0, "y":2}, + {"label":"8", "x":1, "y":2}, + {"label":"9", "x":2, "y":2}, + {"label":"+", "x":3, "y":2}, + + {"label":"4", "x":0, "y":3}, + {"label":"5", "x":1, "y":3}, + {"label":"6", "x":2, "y":3}, + {"label":"+", "x":3, "y":3}, + + {"label":"1", "x":0, "y":4}, + {"label":"2", "x":1, "y":4}, + {"label":"3", "x":2, "y":4}, + {"label":"Enter", "x":3, "y":4}, + + {"label":"0", "x":0, "y":5}, + {"label":"00", "x":1, "y":5}, + {"label":".", "x":2, "y":5}, + {"label":"Enter", "x":3, "y":5} ] } }