summaryrefslogtreecommitdiffstats
path: root/keyboards/adpenrose/shisaku
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-15 21:08:15 +1000
committerGitHub <noreply@github.com>2023-04-15 21:08:15 +1000
commit172a40686b84af7f887350a20c526855c7f7649c (patch)
tree435d6c9a8b06edff988deaa00964629d81d55d64 /keyboards/adpenrose/shisaku
parenta84528f85392ccab60fd7130fecb83972539367f (diff)
Move single `LAYOUT_all`s to data driven (#20430)
Diffstat (limited to 'keyboards/adpenrose/shisaku')
-rw-r--r--keyboards/adpenrose/shisaku/info.json55
-rw-r--r--keyboards/adpenrose/shisaku/shisaku.h32
2 files changed, 54 insertions, 33 deletions
diff --git a/keyboards/adpenrose/shisaku/info.json b/keyboards/adpenrose/shisaku/info.json
index 9223f5a101..8105d338db 100644
--- a/keyboards/adpenrose/shisaku/info.json
+++ b/keyboards/adpenrose/shisaku/info.json
@@ -18,7 +18,60 @@
"layouts": {
"LAYOUT_all": {
"layout": [
- {"label":"Esc", "x":1.25, "y":0}, {"label":"Q", "x":2.25, "y":0}, {"label":"W", "x":3.25, "y":0}, {"label":"E", "x":4.25, "y":0}, {"label":"R", "x":5.25, "y":0}, {"label":"T", "x":6.25, "y":0}, {"label":"Y", "x":7.75, "y":0}, {"label":"U", "x":8.75, "y":0}, {"label":"I", "x":9.75, "y":0}, {"label":"O", "x":10.75, "y":0}, {"label":"P", "x":11.75, "y":0}, {"label":"Backspace", "x":12.75, "y":0, "w":1.5}, {"label":"Caps Lock", "x":0.5, "y":1, "w":1.75}, {"label":"A", "x":2.25, "y":1}, {"label":"S", "x":3.25, "y":1}, {"label":"D", "x":4.25, "y":1}, {"label":"F", "x":5.25, "y":1}, {"label":"G", "x":6.25, "y":1}, {"label":"H", "x":7.75, "y":1}, {"label":"J", "x":8.75, "y":1}, {"label":"K", "x":9.75, "y":1}, {"label":"L", "x":10.75, "y":1}, {"label":":", "x":11.75, "y":1}, {"label":"Enter", "x":12.75, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.25}, {"label":"Fn", "x":1.25, "y":2}, {"label":"Z", "x":2.25, "y":2}, {"label":"X", "x":3.25, "y":2}, {"label":"C", "x":4.25, "y":2}, {"label":"V", "x":5.25, "y":2}, {"label":"B", "x":6.25, "y":2}, {"label":"B", "x":7.75, "y":2}, {"label":"N", "x":8.75, "y":2}, {"label":"M", "x":9.75, "y":2}, {"label":"<", "x":10.75, "y":2}, {"label":">", "x":11.75, "y":2}, {"label":"Up", "x":12.75, "y":2}, {"label":"?", "x":13.75, "y":2, "w":1.25}, {"label":"Ctrl", "x":0, "y":3, "w":1.5}, {"label":"Win", "x":3, "y":3}, {"x":4, "y":3, "w":2.25}, {"label":"Alt", "x":6.25, "y":3}, {"x":7.75, "y":3, "w":2.75}, {"label":"Left", "x":11.75, "y":3}, {"label":"Down", "x":12.75, "y":3}, {"label":"Right", "x":13.75, "y":3}
+ {"matrix": [0, 0], "x": 1.25, "y": 0},
+ {"matrix": [0, 1], "x": 2.25, "y": 0},
+ {"matrix": [0, 2], "x": 3.25, "y": 0},
+ {"matrix": [0, 3], "x": 4.25, "y": 0},
+ {"matrix": [0, 4], "x": 5.25, "y": 0},
+ {"matrix": [0, 5], "x": 6.25, "y": 0},
+
+ {"matrix": [0, 6], "x": 7.75, "y": 0},
+ {"matrix": [1, 0], "x": 8.75, "y": 0},
+ {"matrix": [1, 1], "x": 9.75, "y": 0},
+ {"matrix": [1, 2], "x": 10.75, "y": 0},
+ {"matrix": [1, 3], "x": 11.75, "y": 0},
+ {"matrix": [1, 4], "x": 12.75, "y": 0, "w": 1.5},
+
+ {"matrix": [1, 5], "x": 0.5, "y": 1, "w": 1.75},
+ {"matrix": [1, 6], "x": 2.25, "y": 1},
+ {"matrix": [2, 0], "x": 3.25, "y": 1},
+ {"matrix": [2, 1], "x": 4.25, "y": 1},
+ {"matrix": [2, 2], "x": 5.25, "y": 1},
+ {"matrix": [2, 3], "x": 6.25, "y": 1},
+
+ {"matrix": [2, 4], "x": 7.75, "y": 1},
+ {"matrix": [2, 5], "x": 8.75, "y": 1},
+ {"matrix": [2, 6], "x": 9.75, "y": 1},
+ {"matrix": [3, 0], "x": 10.75, "y": 1},
+ {"matrix": [3, 3], "x": 11.75, "y": 1},
+ {"matrix": [3, 4], "x": 12.75, "y": 1, "w": 1.75},
+
+ {"matrix": [3, 5], "x": 0, "y": 2, "w": 1.25},
+ {"matrix": [4, 0], "x": 1.25, "y": 2},
+ {"matrix": [4, 1], "x": 2.25, "y": 2},
+ {"matrix": [4, 2], "x": 3.25, "y": 2},
+ {"matrix": [4, 3], "x": 4.25, "y": 2},
+ {"matrix": [4, 4], "x": 5.25, "y": 2},
+ {"matrix": [4, 5], "x": 6.25, "y": 2},
+
+ {"matrix": [5, 0], "x": 7.75, "y": 2},
+ {"matrix": [5, 1], "x": 8.75, "y": 2},
+ {"matrix": [5, 2], "x": 9.75, "y": 2},
+ {"matrix": [5, 3], "x": 10.75, "y": 2},
+ {"matrix": [5, 4], "x": 11.75, "y": 2},
+ {"matrix": [5, 5], "x": 12.75, "y": 2},
+ {"matrix": [6, 0], "x": 13.75, "y": 2, "w": 1.25},
+
+ {"matrix": [6, 1], "x": 0, "y": 3, "w": 1.5},
+ {"matrix": [6, 2], "x": 3, "y": 3},
+ {"matrix": [6, 3], "x": 4, "y": 3, "w": 2.25},
+ {"matrix": [6, 4], "x": 6.25, "y": 3},
+
+ {"matrix": [6, 5], "x": 7.75, "y": 3, "w": 2.75},
+
+ {"matrix": [7, 0], "x": 11.75, "y": 3},
+ {"matrix": [7, 4], "x": 12.75, "y": 3},
+ {"matrix": [7, 5], "x": 13.75, "y": 3}
]
}
}
diff --git a/keyboards/adpenrose/shisaku/shisaku.h b/keyboards/adpenrose/shisaku/shisaku.h
deleted file mode 100644
index ea92202435..0000000000
--- a/keyboards/adpenrose/shisaku/shisaku.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2022 Arturo Avila (@ADPenrose)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define XXX KC_NO
-
-#define LAYOUT_all( \
- k00, k01, k02, k03, k04, k05, k06, k10, k11, k12, k13, k14, \
- k15, k16, k20, k21, k22, k23, k24, k25, k26, k30, k33, k34, \
- k35, k40, k41, k42, k43, k44, k45, k50, k51, k52, k53, k54, k55, k60, \
- k61, k62, k63, k64, k65, k70, k74, k75 \
-) { \
- { k00, k01, k02, k03, k04, k05, k06 }, \
- { k10, k11, k12, k13, k14, k15, k16 }, \
- { k20, k21, k22, k23, k24, k25, k26 }, \
- { k30, XXX, XXX, k33, k34, k35, XXX }, \
- { k40, k41, k42, k43, k44, k45, XXX }, \
- { k50, k51, k52, k53, k54, k55, XXX }, \
- { k60, k61, k62, k63, k64, k65, XXX }, \
- { k70, XXX, XXX, XXX, k74, k75, XXX } \
-}