From b5e26ccb9401c5d5393110620fde9d67b7787634 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sat, 15 Oct 2022 14:26:56 -0700 Subject: Y&R Studio NZ67v2 Layout Refactor (#18724) * info.json: apply friendly formatting * nz67v2.h: use ____ for KC_NO * nz67v2.h: add matrix diagram * add LAYOUT_all Same matrix as `LAYOUT`, but physically arranged to mimic the keyboard layout. Rotary encoder positions move from the bottom row to the top row. * refactor keymaps to use LAYOUT_all macro * info.json: add LAYOUT_all data * remove LAYOUT macro Now unused. * add LAYOUT_65_ansi_blocker * add LAYOUT_65_ansi_blocker_split_space * remove dead space from layouts Remove empty space from `LAYOUT_65_ansi_blocker` and `LAYOUT_65_ansi_blocker_split_space` layouts. --- keyboards/yandrstudio/nz67v2/info.json | 596 +++++++++++++-------------------- 1 file changed, 228 insertions(+), 368 deletions(-) (limited to 'keyboards/yandrstudio/nz67v2/info.json') diff --git a/keyboards/yandrstudio/nz67v2/info.json b/keyboards/yandrstudio/nz67v2/info.json index 3e5e2b4afa..033b05a3cb 100644 --- a/keyboards/yandrstudio/nz67v2/info.json +++ b/keyboards/yandrstudio/nz67v2/info.json @@ -7,375 +7,235 @@ "device_version": "1.0.0" }, "layouts": { - "LAYOUT": { + "LAYOUT_all": { "layout": [ - { - "label": "EC", - "x": 16, - "y": 0 - }, - { - "label": "~", - "x": 0, - "y": 0.5 - }, - { - "label": "!", - "x": 1, - "y": 0.5 - }, - { - "label": "@", - "x": 2, - "y": 0.5 - }, - { - "label": "#", - "x": 3, - "y": 0.5 - }, - { - "label": "$", - "x": 4, - "y": 0.5 - }, - { - "label": "%", - "x": 5, - "y": 0.5 - }, - { - "label": "^", - "x": 6, - "y": 0.5 - }, - { - "label": "&", - "x": 7, - "y": 0.5 - }, - { - "label": "*", - "x": 8, - "y": 0.5 - }, - { - "label": "(", - "x": 9, - "y": 0.5 - }, - { - "label": ")", - "x": 10, - "y": 0.5 - }, - { - "label": "_", - "x": 11, - "y": 0.5 - }, - { - "label": "+", - "x": 12, - "y": 0.5 - }, - { - "label": "Backspace", - "x": 13, - "y": 0.5, - "w": 2 - }, - { - "label": "Insert", - "x": 15, - "y": 0.5 - }, - { - "label": "EC", - "x": 16, - "y": 1 - }, - { - "label": "Tab", - "x": 0, - "y": 1.5, - "w": 1.5 - }, - { - "label": "Q", - "x": 1.5, - "y": 1.5 - }, - { - "label": "W", - "x": 2.5, - "y": 1.5 - }, - { - "label": "E", - "x": 3.5, - "y": 1.5 - }, - { - "label": "R", - "x": 4.5, - "y": 1.5 - }, - { - "label": "T", - "x": 5.5, - "y": 1.5 - }, - { - "label": "Y", - "x": 6.5, - "y": 1.5 - }, - { - "label": "U", - "x": 7.5, - "y": 1.5 - }, - { - "label": "I", - "x": 8.5, - "y": 1.5 - }, - { - "label": "O", - "x": 9.5, - "y": 1.5 - }, - { - "label": "P", - "x": 10.5, - "y": 1.5 - }, - { - "label": "{", - "x": 11.5, - "y": 1.5 - }, - { - "label": "}", - "x": 12.5, - "y": 1.5 - }, - { - "label": "|", - "x": 13.5, - "y": 1.5, - "w": 1.5 - }, - { - "label": "PgUp", - "x": 15, - "y": 1.5 - }, - { - "label": "Caps Lock", - "x": 0, - "y": 2.5, - "w": 1.75 - }, - { - "label": "A", - "x": 1.75, - "y": 2.5 - }, - { - "label": "S", - "x": 2.75, - "y": 2.5 - }, - { - "label": "D", - "x": 3.75, - "y": 2.5 - }, - { - "label": "F", - "x": 4.75, - "y": 2.5 - }, - { - "label": "G", - "x": 5.75, - "y": 2.5 - }, - { - "label": "H", - "x": 6.75, - "y": 2.5 - }, - { - "label": "J", - "x": 7.75, - "y": 2.5 - }, - { - "label": "K", - "x": 8.75, - "y": 2.5 - }, - { - "label": "L", - "x": 9.75, - "y": 2.5 - }, - { - "label": ":", - "x": 10.75, - "y": 2.5 - }, - { - "label": "\"", - "x": 11.75, - "y": 2.5 - }, - { - "label": "Enter", - "x": 12.75, - "y": 2.5, - "w": 2.25 - }, - { - "label": "PgDn", - "x": 15, - "y": 2.5 - }, - { - "label": "Shift", - "x": 0, - "y": 3.5, - "w": 2.25 - }, - { - "label": "Z", - "x": 2.25, - "y": 3.5 - }, - { - "label": "X", - "x": 3.25, - "y": 3.5 - }, - { - "label": "C", - "x": 4.25, - "y": 3.5 - }, - { - "label": "V", - "x": 5.25, - "y": 3.5 - }, - { - "label": "B", - "x": 6.25, - "y": 3.5 - }, - { - "label": "N", - "x": 7.25, - "y": 3.5 - }, - { - "label": "M", - "x": 8.25, - "y": 3.5 - }, - { - "label": "<", - "x": 9.25, - "y": 3.5 - }, - { - "label": ">", - "x": 10.25, - "y": 3.5 - }, - { - "label": "?", - "x": 11.25, - "y": 3.5 - }, - { - "label": "Shift", - "x": 12.25, - "y": 3.5, - "w": 1.75 - }, - { - "label": "\u2191", - "x": 14, - "y": 3.5 - }, - { - "label": "Delete", - "x": 15, - "y": 3.5 - }, - { - "label": "Ctrl", - "x": 0, - "y": 4.5, - "w": 1.25 - }, - { - "label": "Win", - "x": 1.25, - "y": 4.5, - "w": 1.25 - }, - { - "label": "Alt", - "x": 2.5, - "y": 4.5, - "w": 1.25 - }, - { - "x": 3.75, - "y": 4.5, - "w": 2.25 - }, - { - "x": 6, - "y": 4.5, - "w": 1.75 - }, - { - "x": 7.75, - "y": 4.5, - "w": 2.25 - }, - { - "label": "Alt", - "x": 10, - "y": 4.5, - "w": 1.25 - }, - { - "label": "Fn", - "x": 11.25, - "y": 4.5, - "w": 1.25 - }, - { - "label": "\u2190", - "x": 13, - "y": 4.5 - }, - { - "label": "\u2193", - "x": 14, - "y": 4.5 - }, - { - "label": "\u2192", - "x": 15, - "y": 4.5 - } + {"label":"~", "x":0, "y":0.5}, + {"label":"!", "x":1, "y":0.5}, + {"label":"@", "x":2, "y":0.5}, + {"label":"#", "x":3, "y":0.5}, + {"label":"$", "x":4, "y":0.5}, + {"label":"%", "x":5, "y":0.5}, + {"label":"^", "x":6, "y":0.5}, + {"label":"&", "x":7, "y":0.5}, + {"label":"*", "x":8, "y":0.5}, + {"label":"(", "x":9, "y":0.5}, + {"label":")", "x":10, "y":0.5}, + {"label":"_", "x":11, "y":0.5}, + {"label":"+", "x":12, "y":0.5}, + {"label":"Backspace", "x":13, "y":0.5, "w":2}, + {"label":"EC CCW", "x":16, "y":0}, + {"label":"Insert", "x":15, "y":0.5}, + {"label":"EC CW", "x":16, "y":1}, + + {"label":"Tab", "x":0, "y":1.5, "w":1.5}, + {"label":"Q", "x":1.5, "y":1.5}, + {"label":"W", "x":2.5, "y":1.5}, + {"label":"E", "x":3.5, "y":1.5}, + {"label":"R", "x":4.5, "y":1.5}, + {"label":"T", "x":5.5, "y":1.5}, + {"label":"Y", "x":6.5, "y":1.5}, + {"label":"U", "x":7.5, "y":1.5}, + {"label":"I", "x":8.5, "y":1.5}, + {"label":"O", "x":9.5, "y":1.5}, + {"label":"P", "x":10.5, "y":1.5}, + {"label":"{", "x":11.5, "y":1.5}, + {"label":"}", "x":12.5, "y":1.5}, + {"label":"|", "x":13.5, "y":1.5, "w":1.5}, + {"label":"PgUp", "x":15, "y":1.5}, + + {"label":"Caps Lock", "x":0, "y":2.5, "w":1.75}, + {"label":"A", "x":1.75, "y":2.5}, + {"label":"S", "x":2.75, "y":2.5}, + {"label":"D", "x":3.75, "y":2.5}, + {"label":"F", "x":4.75, "y":2.5}, + {"label":"G", "x":5.75, "y":2.5}, + {"label":"H", "x":6.75, "y":2.5}, + {"label":"J", "x":7.75, "y":2.5}, + {"label":"K", "x":8.75, "y":2.5}, + {"label":"L", "x":9.75, "y":2.5}, + {"label":":", "x":10.75, "y":2.5}, + {"label":"\"", "x":11.75, "y":2.5}, + {"label":"Enter", "x":12.75, "y":2.5, "w":2.25}, + {"label":"PgDn", "x":15, "y":2.5}, + + {"label":"Shift", "x":0, "y":3.5, "w":2.25}, + {"label":"Z", "x":2.25, "y":3.5}, + {"label":"X", "x":3.25, "y":3.5}, + {"label":"C", "x":4.25, "y":3.5}, + {"label":"V", "x":5.25, "y":3.5}, + {"label":"B", "x":6.25, "y":3.5}, + {"label":"N", "x":7.25, "y":3.5}, + {"label":"M", "x":8.25, "y":3.5}, + {"label":"<", "x":9.25, "y":3.5}, + {"label":">", "x":10.25, "y":3.5}, + {"label":"?", "x":11.25, "y":3.5}, + {"label":"Shift", "x":12.25, "y":3.5, "w":1.75}, + {"label":"\u2191", "x":14, "y":3.5}, + {"label":"Delete", "x":15, "y":3.5}, + + {"label":"Ctrl", "x":0, "y":4.5, "w":1.25}, + {"label":"Win", "x":1.25, "y":4.5, "w":1.25}, + {"label":"Alt", "x":2.5, "y":4.5, "w":1.25}, + {"label":"Space", "x":3.75, "y":4.5, "w":2.25}, + {"label":"Space", "x":6, "y":4.5, "w":1.75}, + {"label":"Space", "x":7.75, "y":4.5, "w":2.25}, + {"label":"Alt", "x":10, "y":4.5, "w":1.25}, + {"label":"Fn", "x":11.25, "y":4.5, "w":1.25}, + {"label":"\u2190", "x":13, "y":4.5}, + {"label":"\u2193", "x":14, "y":4.5}, + {"label":"\u2192", "x":15, "y":4.5} + ] + }, + "LAYOUT_65_ansi_blocker": { + "layout": [ + {"label":"~", "x":0, "y":0}, + {"label":"!", "x":1, "y":0}, + {"label":"@", "x":2, "y":0}, + {"label":"#", "x":3, "y":0}, + {"label":"$", "x":4, "y":0}, + {"label":"%", "x":5, "y":0}, + {"label":"^", "x":6, "y":0}, + {"label":"&", "x":7, "y":0}, + {"label":"*", "x":8, "y":0}, + {"label":"(", "x":9, "y":0}, + {"label":")", "x":10, "y":0}, + {"label":"_", "x":11, "y":0}, + {"label":"+", "x":12, "y":0}, + {"label":"Backspace", "x":13, "y":0, "w":2}, + {"label":"Insert", "x":15, "y":0}, + + {"label":"Tab", "x":0, "y":1, "w":1.5}, + {"label":"Q", "x":1.5, "y":1}, + {"label":"W", "x":2.5, "y":1}, + {"label":"E", "x":3.5, "y":1}, + {"label":"R", "x":4.5, "y":1}, + {"label":"T", "x":5.5, "y":1}, + {"label":"Y", "x":6.5, "y":1}, + {"label":"U", "x":7.5, "y":1}, + {"label":"I", "x":8.5, "y":1}, + {"label":"O", "x":9.5, "y":1}, + {"label":"P", "x":10.5, "y":1}, + {"label":"{", "x":11.5, "y":1}, + {"label":"}", "x":12.5, "y":1}, + {"label":"|", "x":13.5, "y":1, "w":1.5}, + {"label":"PgUp", "x":15, "y":1}, + + {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, + {"label":"A", "x":1.75, "y":2}, + {"label":"S", "x":2.75, "y":2}, + {"label":"D", "x":3.75, "y":2}, + {"label":"F", "x":4.75, "y":2}, + {"label":"G", "x":5.75, "y":2}, + {"label":"H", "x":6.75, "y":2}, + {"label":"J", "x":7.75, "y":2}, + {"label":"K", "x":8.75, "y":2}, + {"label":"L", "x":9.75, "y":2}, + {"label":":", "x":10.75, "y":2}, + {"label":"\"", "x":11.75, "y":2}, + {"label":"Enter", "x":12.75, "y":2, "w":2.25}, + {"label":"PgDn", "x":15, "y":2}, + + {"label":"Shift", "x":0, "y":3, "w":2.25}, + {"label":"Z", "x":2.25, "y":3}, + {"label":"X", "x":3.25, "y":3}, + {"label":"C", "x":4.25, "y":3}, + {"label":"V", "x":5.25, "y":3}, + {"label":"B", "x":6.25, "y":3}, + {"label":"N", "x":7.25, "y":3}, + {"label":"M", "x":8.25, "y":3}, + {"label":"<", "x":9.25, "y":3}, + {"label":">", "x":10.25, "y":3}, + {"label":"?", "x":11.25, "y":3}, + {"label":"Shift", "x":12.25, "y":3, "w":1.75}, + {"label":"\u2191", "x":14, "y":3}, + {"label":"Delete", "x":15, "y":3}, + + {"label":"Ctrl", "x":0, "y":4, "w":1.25}, + {"label":"Win", "x":1.25, "y":4, "w":1.25}, + {"label":"Alt", "x":2.5, "y":4, "w":1.25}, + {"label":"Space", "x":3.75, "y":4, "w":6.25}, + {"label":"Alt", "x":10, "y":4, "w":1.25}, + {"label":"Fn", "x":11.25, "y":4, "w":1.25}, + {"label":"\u2190", "x":13, "y":4}, + {"label":"\u2193", "x":14, "y":4}, + {"label":"\u2192", "x":15, "y":4} + ] + }, + "LAYOUT_65_ansi_blocker_split_space": { + "layout": [ + {"label":"~", "x":0, "y":0}, + {"label":"!", "x":1, "y":0}, + {"label":"@", "x":2, "y":0}, + {"label":"#", "x":3, "y":0}, + {"label":"$", "x":4, "y":0}, + {"label":"%", "x":5, "y":0}, + {"label":"^", "x":6, "y":0}, + {"label":"&", "x":7, "y":0}, + {"label":"*", "x":8, "y":0}, + {"label":"(", "x":9, "y":0}, + {"label":")", "x":10, "y":0}, + {"label":"_", "x":11, "y":0}, + {"label":"+", "x":12, "y":0}, + {"label":"Backspace", "x":13, "y":0, "w":2}, + {"label":"Insert", "x":15, "y":0}, + + {"label":"Tab", "x":0, "y":1, "w":1.5}, + {"label":"Q", "x":1.5, "y":1}, + {"label":"W", "x":2.5, "y":1}, + {"label":"E", "x":3.5, "y":1}, + {"label":"R", "x":4.5, "y":1}, + {"label":"T", "x":5.5, "y":1}, + {"label":"Y", "x":6.5, "y":1}, + {"label":"U", "x":7.5, "y":1}, + {"label":"I", "x":8.5, "y":1}, + {"label":"O", "x":9.5, "y":1}, + {"label":"P", "x":10.5, "y":1}, + {"label":"{", "x":11.5, "y":1}, + {"label":"}", "x":12.5, "y":1}, + {"label":"|", "x":13.5, "y":1, "w":1.5}, + {"label":"PgUp", "x":15, "y":1}, + + {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, + {"label":"A", "x":1.75, "y":2}, + {"label":"S", "x":2.75, "y":2}, + {"label":"D", "x":3.75, "y":2}, + {"label":"F", "x":4.75, "y":2}, + {"label":"G", "x":5.75, "y":2}, + {"label":"H", "x":6.75, "y":2}, + {"label":"J", "x":7.75, "y":2}, + {"label":"K", "x":8.75, "y":2}, + {"label":"L", "x":9.75, "y":2}, + {"label":":", "x":10.75, "y":2}, + {"label":"\"", "x":11.75, "y":2}, + {"label":"Enter", "x":12.75, "y":2, "w":2.25}, + {"label":"PgDn", "x":15, "y":2}, + + {"label":"Shift", "x":0, "y":3, "w":2.25}, + {"label":"Z", "x":2.25, "y":3}, + {"label":"X", "x":3.25, "y":3}, + {"label":"C", "x":4.25, "y":3}, + {"label":"V", "x":5.25, "y":3}, + {"label":"B", "x":6.25, "y":3}, + {"label":"N", "x":7.25, "y":3}, + {"label":"M", "x":8.25, "y":3}, + {"label":"<", "x":9.25, "y":3}, + {"label":">", "x":10.25, "y":3}, + {"label":"?", "x":11.25, "y":3}, + {"label":"Shift", "x":12.25, "y":3, "w":1.75}, + {"label":"\u2191", "x":14, "y":3}, + {"label":"Delete", "x":15, "y":3}, + + {"label":"Ctrl", "x":0, "y":4, "w":1.25}, + {"label":"Win", "x":1.25, "y":4, "w":1.25}, + {"label":"Alt", "x":2.5, "y":4, "w":1.25}, + {"label":"Space", "x":3.75, "y":4, "w":2.25}, + {"label":"Space", "x":6, "y":4, "w":1.75}, + {"label":"Space", "x":7.75, "y":4, "w":2.25}, + {"label":"Alt", "x":10, "y":4, "w":1.25}, + {"label":"Fn", "x":11.25, "y":4, "w":1.25}, + {"label":"\u2190", "x":13, "y":4}, + {"label":"\u2193", "x":14, "y":4}, + {"label":"\u2192", "x":15, "y":4} ] } } -- cgit v1.2.3