summaryrefslogtreecommitdiffstats
path: root/keyboards/bpiphany/unloved_bastard
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-05 15:53:45 +1000
committerGitHub <noreply@github.com>2023-04-05 15:53:45 +1000
commit8bb4cba7b04571d75674f8f3f19462adef015060 (patch)
tree1a6e4f900c13776ed911c96731b33771c3d9befb /keyboards/bpiphany/unloved_bastard
parent09a2b70a661323aa7ea023341bb1e9dcd3c75e24 (diff)
Move TKL layouts to data driven (#20337)
Diffstat (limited to 'keyboards/bpiphany/unloved_bastard')
-rw-r--r--keyboards/bpiphany/unloved_bastard/info.json314
-rw-r--r--keyboards/bpiphany/unloved_bastard/unloved_bastard.h77
2 files changed, 311 insertions, 80 deletions
diff --git a/keyboards/bpiphany/unloved_bastard/info.json b/keyboards/bpiphany/unloved_bastard/info.json
index 7f16025525..4ca48fee99 100644
--- a/keyboards/bpiphany/unloved_bastard/info.json
+++ b/keyboards/bpiphany/unloved_bastard/info.json
@@ -16,15 +16,323 @@
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_iso"],
+ "layout_aliases": {
+ "LAYOUT": "LAYOUT_all"
+ },
"layouts": {
"LAYOUT_all": {
- "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":2, "y":0}, {"label":"F2", "x":3, "y":0}, {"label":"F3", "x":4, "y":0}, {"label":"F4", "x":5, "y":0}, {"label":"F5", "x":6.5, "y":0}, {"label":"F6", "x":7.5, "y":0}, {"label":"F7", "x":8.5, "y":0}, {"label":"F8", "x":9.5, "y":0}, {"label":"F9", "x":11, "y":0}, {"label":"F10", "x":12, "y":0}, {"label":"F11", "x":13, "y":0}, {"label":"F12", "x":14, "y":0}, {"label":"PrtSc", "x":15.25, "y":0}, {"label":"Scroll Lock", "x":16.25, "y":0}, {"label":"Pause", "x":17.25, "y":0}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"Backspace", "x":13, "y":1.5, "w":2}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, {"label":"Shift", "x":0, "y":4.5, "w":1.25}, {"label":"|", "x":1.25, "y":4.5}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":6.25}, {"label":"Alt", "x":10, "y":5.5, "w":1.25}, {"label":"Win", "x":11.25, "y":5.5, "w":1.25}, {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
+ "layout": [
+ {"matrix": [6, 6], "x": 0, "y": 0},
+
+ {"matrix": [4, 7], "x": 2, "y": 0},
+ {"matrix": [4, 8], "x": 3, "y": 0},
+ {"matrix": [2, 8], "x": 4, "y": 0},
+ {"matrix": [6, 8], "x": 5, "y": 0},
+
+ {"matrix": [5, 15], "x": 6.5, "y": 0},
+ {"matrix": [6, 11], "x": 7.5, "y": 0},
+ {"matrix": [2, 12], "x": 8.5, "y": 0},
+ {"matrix": [4, 12], "x": 9.5, "y": 0},
+
+ {"matrix": [4, 14], "x": 11, "y": 0},
+ {"matrix": [5, 14], "x": 12, "y": 0},
+ {"matrix": [6, 14], "x": 13, "y": 0},
+ {"matrix": [0, 14], "x": 14, "y": 0},
+
+ {"matrix": [5, 13], "x": 15.25, "y": 0},
+ {"matrix": [7, 13], "x": 16.25, "y": 0},
+ {"matrix": [7, 15], "x": 17.25, "y": 0},
+
+ {"matrix": [4, 6], "x": 0, "y": 1.5},
+ {"matrix": [5, 6], "x": 1, "y": 1.5},
+ {"matrix": [5, 7], "x": 2, "y": 1.5},
+ {"matrix": [5, 8], "x": 3, "y": 1.5},
+ {"matrix": [5, 9], "x": 4, "y": 1.5},
+ {"matrix": [4, 9], "x": 5, "y": 1.5},
+ {"matrix": [4, 10], "x": 6, "y": 1.5},
+ {"matrix": [5, 10], "x": 7, "y": 1.5},
+ {"matrix": [5, 11], "x": 8, "y": 1.5},
+ {"matrix": [5, 12], "x": 9, "y": 1.5},
+ {"matrix": [5, 5], "x": 10, "y": 1.5},
+ {"matrix": [4, 5], "x": 11, "y": 1.5},
+ {"matrix": [4, 11], "x": 12, "y": 1.5},
+ {"matrix": [2, 14], "x": 13, "y": 1.5, "w": 2},
+
+ {"matrix": [4, 17], "x": 15.25, "y": 1.5},
+ {"matrix": [4, 2], "x": 16.25, "y": 1.5},
+ {"matrix": [4, 4], "x": 17.25, "y": 1.5},
+
+ {"matrix": [2, 6], "x": 0, "y": 2.5, "w": 1.5},
+ {"matrix": [7, 6], "x": 1.5, "y": 2.5},
+ {"matrix": [7, 7], "x": 2.5, "y": 2.5},
+ {"matrix": [7, 8], "x": 3.5, "y": 2.5},
+ {"matrix": [7, 9], "x": 4.5, "y": 2.5},
+ {"matrix": [2, 9], "x": 5.5, "y": 2.5},
+ {"matrix": [2, 10], "x": 6.5, "y": 2.5},
+ {"matrix": [7, 10], "x": 7.5, "y": 2.5},
+ {"matrix": [7, 11], "x": 8.5, "y": 2.5},
+ {"matrix": [7, 12], "x": 9.5, "y": 2.5},
+ {"matrix": [7, 5], "x": 10.5, "y": 2.5},
+ {"matrix": [2, 5], "x": 11.5, "y": 2.5},
+ {"matrix": [2, 11], "x": 12.5, "y": 2.5},
+ {"matrix": [3, 14], "x": 13.5, "y": 2.5, "w": 1.5},
+
+ {"matrix": [4, 16], "x": 15.25, "y": 2.5},
+ {"matrix": [5, 2], "x": 16.25, "y": 2.5},
+ {"matrix": [5, 4], "x": 17.25, "y": 2.5},
+
+ {"matrix": [2, 7], "x": 0, "y": 3.5, "w": 1.75},
+ {"matrix": [3, 6], "x": 1.75, "y": 3.5},
+ {"matrix": [3, 7], "x": 2.75, "y": 3.5},
+ {"matrix": [3, 8], "x": 3.75, "y": 3.5},
+ {"matrix": [3, 9], "x": 4.75, "y": 3.5},
+ {"matrix": [6, 9], "x": 5.75, "y": 3.5},
+ {"matrix": [6, 10], "x": 6.75, "y": 3.5},
+ {"matrix": [3, 10], "x": 7.75, "y": 3.5},
+ {"matrix": [3, 11], "x": 8.75, "y": 3.5},
+ {"matrix": [3, 12], "x": 9.75, "y": 3.5},
+ {"matrix": [3, 5], "x": 10.75, "y": 3.5},
+ {"matrix": [6, 5], "x": 11.75, "y": 3.5},
+ {"matrix": [1, 14], "x": 12.75, "y": 3.5, "w": 2.25},
+
+ {"matrix": [2, 1], "x": 0, "y": 4.5, "w": 1.25},
+ {"matrix": [6, 7], "x": 1.25, "y": 4.5},
+ {"matrix": [1, 6], "x": 2.25, "y": 4.5},
+ {"matrix": [1, 7], "x": 3.25, "y": 4.5},
+ {"matrix": [1, 8], "x": 4.25, "y": 4.5},
+ {"matrix": [1, 9], "x": 5.25, "y": 4.5},
+ {"matrix": [0, 9], "x": 6.25, "y": 4.5},
+ {"matrix": [0, 10], "x": 7.25, "y": 4.5},
+ {"matrix": [1, 10], "x": 8.25, "y": 4.5},
+ {"matrix": [1, 11], "x": 9.25, "y": 4.5},
+ {"matrix": [1, 12], "x": 10.25, "y": 4.5},
+ {"matrix": [0, 5], "x": 11.25, "y": 4.5},
+ {"matrix": [3, 1], "x": 12.25, "y": 4.5, "w": 2.75},
+
+ {"matrix": [6, 2], "x": 16.25, "y": 4.5},
+
+ {"matrix": [4, 15], "x": 0, "y": 5.5, "w": 1.25},
+ {"matrix": [2, 13], "x": 1.25, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 13], "x": 2.5, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 16], "x": 3.75, "y": 5.5, "w": 6.25},
+ {"matrix": [0, 13], "x": 10, "y": 5.5, "w": 1.25},
+ {"matrix": [3, 13], "x": 11.25, "y": 5.5, "w": 1.25},
+ {"matrix": [0, 12], "x": 12.5, "y": 5.5, "w": 1.25},
+ {"matrix": [1, 15], "x": 13.75, "y": 5.5, "w": 1.25},
+
+ {"matrix": [0, 2], "x": 15.25, "y": 5.5},
+ {"matrix": [0, 16], "x": 16.25, "y": 5.5},
+ {"matrix": [0, 17], "x": 17.25, "y": 5.5}
+ ]
},
"LAYOUT_tkl_iso": {
- "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":2, "y":0}, {"label":"F2", "x":3, "y":0}, {"label":"F3", "x":4, "y":0}, {"label":"F4", "x":5, "y":0}, {"label":"F5", "x":6.5, "y":0}, {"label":"F6", "x":7.5, "y":0}, {"label":"F7", "x":8.5, "y":0}, {"label":"F8", "x":9.5, "y":0}, {"label":"F9", "x":11, "y":0}, {"label":"F10", "x":12, "y":0}, {"label":"F11", "x":13, "y":0}, {"label":"F12", "x":14, "y":0}, {"label":"PrtSc", "x":15.25, "y":0}, {"label":"Scroll Lock", "x":16.25, "y":0}, {"label":"Pause", "x":17.25, "y":0}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"Backspace", "x":13, "y":1.5, "w":2}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"~", "x":12.75, "y":3.5}, {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2}, {"label":"Shift", "x":0, "y":4.5, "w":1.25}, {"label":"|", "x":1.25, "y":4.5}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":6.25}, {"label":"Alt", "x":10, "y":5.5, "w":1.25}, {"label":"Win", "x":11.25, "y":5.5, "w":1.25}, {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
+ "layout": [
+ {"matrix": [6, 6], "x": 0, "y": 0},
+
+ {"matrix": [4, 7], "x": 2, "y": 0},
+ {"matrix": [4, 8], "x": 3, "y": 0},
+ {"matrix": [2, 8], "x": 4, "y": 0},
+ {"matrix": [6, 8], "x": 5, "y": 0},
+
+ {"matrix": [5, 15], "x": 6.5, "y": 0},
+ {"matrix": [6, 11], "x": 7.5, "y": 0},
+ {"matrix": [2, 12], "x": 8.5, "y": 0},
+ {"matrix": [4, 12], "x": 9.5, "y": 0},
+
+ {"matrix": [4, 14], "x": 11, "y": 0},
+ {"matrix": [5, 14], "x": 12, "y": 0},
+ {"matrix": [6, 14], "x": 13, "y": 0},
+ {"matrix": [0, 14], "x": 14, "y": 0},
+
+ {"matrix": [5, 13], "x": 15.25, "y": 0},
+ {"matrix": [7, 13], "x": 16.25, "y": 0},
+ {"matrix": [7, 15], "x": 17.25, "y": 0},
+
+ {"matrix": [4, 6], "x": 0, "y": 1.5},
+ {"matrix": [5, 6], "x": 1, "y": 1.5},
+ {"matrix": [5, 7], "x": 2, "y": 1.5},
+ {"matrix": [5, 8], "x": 3, "y": 1.5},
+ {"matrix": [5, 9], "x": 4, "y": 1.5},
+ {"matrix": [4, 9], "x": 5, "y": 1.5},
+ {"matrix": [4, 10], "x": 6, "y": 1.5},
+ {"matrix": [5, 10], "x": 7, "y": 1.5},
+ {"matrix": [5, 11], "x": 8, "y": 1.5},
+ {"matrix": [5, 12], "x": 9, "y": 1.5},
+ {"matrix": [5, 5], "x": 10, "y": 1.5},
+ {"matrix": [4, 5], "x": 11, "y": 1.5},
+ {"matrix": [4, 11], "x": 12, "y": 1.5},
+ {"matrix": [2, 14], "x": 13, "y": 1.5, "w": 2},
+
+ {"matrix": [4, 17], "x": 15.25, "y": 1.5},
+ {"matrix": [4, 2], "x": 16.25, "y": 1.5},
+ {"matrix": [4, 4], "x": 17.25, "y": 1.5},
+
+ {"matrix": [2, 6], "x": 0, "y": 2.5, "w": 1.5},
+ {"matrix": [7, 6], "x": 1.5, "y": 2.5},
+ {"matrix": [7, 7], "x": 2.5, "y": 2.5},
+ {"matrix": [7, 8], "x": 3.5, "y": 2.5},
+ {"matrix": [7, 9], "x": 4.5, "y": 2.5},
+ {"matrix": [2, 9], "x": 5.5, "y": 2.5},
+ {"matrix": [2, 10], "x": 6.5, "y": 2.5},
+ {"matrix": [7, 10], "x": 7.5, "y": 2.5},
+ {"matrix": [7, 11], "x": 8.5, "y": 2.5},
+ {"matrix": [7, 12], "x": 9.5, "y": 2.5},
+ {"matrix": [7, 5], "x": 10.5, "y": 2.5},
+ {"matrix": [2, 5], "x": 11.5, "y": 2.5},
+ {"matrix": [2, 11], "x": 12.5, "y": 2.5},
+
+ {"matrix": [4, 16], "x": 15.25, "y": 2.5},
+ {"matrix": [5, 2], "x": 16.25, "y": 2.5},
+ {"matrix": [5, 4], "x": 17.25, "y": 2.5},
+
+ {"matrix": [2, 7], "x": 0, "y": 3.5, "w": 1.75},
+ {"matrix": [3, 6], "x": 1.75, "y": 3.5},
+ {"matrix": [3, 7], "x": 2.75, "y": 3.5},
+ {"matrix": [3, 8], "x": 3.75, "y": 3.5},
+ {"matrix": [3, 9], "x": 4.75, "y": 3.5},
+ {"matrix": [6, 9], "x": 5.75, "y": 3.5},
+ {"matrix": [6, 10], "x": 6.75, "y": 3.5},
+ {"matrix": [3, 10], "x": 7.75, "y": 3.5},
+ {"matrix": [3, 11], "x": 8.75, "y": 3.5},
+ {"matrix": [3, 12], "x": 9.75, "y": 3.5},
+ {"matrix": [3, 5], "x": 10.75, "y": 3.5},
+ {"matrix": [6, 5], "x": 11.75, "y": 3.5},
+ {"matrix": [3, 14], "x": 12.75, "y": 3.5},
+ {"matrix": [1, 14], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
+
+ {"matrix": [2, 1], "x": 0, "y": 4.5, "w": 1.25},
+ {"matrix": [6, 7], "x": 1.25, "y": 4.5},
+ {"matrix": [1, 6], "x": 2.25, "y": 4.5},
+ {"matrix": [1, 7], "x": 3.25, "y": 4.5},
+ {"matrix": [1, 8], "x": 4.25, "y": 4.5},
+ {"matrix": [1, 9], "x": 5.25, "y": 4.5},
+ {"matrix": [0, 9], "x": 6.25, "y": 4.5},
+ {"matrix": [0, 10], "x": 7.25, "y": 4.5},
+ {"matrix": [1, 10], "x": 8.25, "y": 4.5},
+ {"matrix": [1, 11], "x": 9.25, "y": 4.5},
+ {"matrix": [1, 12], "x": 10.25, "y": 4.5},
+ {"matrix": [0, 5], "x": 11.25, "y": 4.5},
+ {"matrix": [3, 1], "x": 12.25, "y": 4.5, "w": 2.75},
+
+ {"matrix": [6, 2], "x": 16.25, "y": 4.5},
+
+ {"matrix": [4, 15], "x": 0, "y": 5.5, "w": 1.25},
+ {"matrix": [2, 13], "x": 1.25, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 13], "x": 2.5, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 16], "x": 3.75, "y": 5.5, "w": 6.25},
+ {"matrix": [0, 13], "x": 10, "y": 5.5, "w": 1.25},
+ {"matrix": [3, 13], "x": 11.25, "y": 5.5, "w": 1.25},
+ {"matrix": [0, 12], "x": 12.5, "y": 5.5, "w": 1.25},
+ {"matrix": [1, 15], "x": 13.75, "y": 5.5, "w": 1.25},
+
+ {"matrix": [0, 2], "x": 15.25, "y": 5.5},
+ {"matrix": [0, 16], "x": 16.25, "y": 5.5},
+ {"matrix": [0, 17], "x": 17.25, "y": 5.5}
+ ]
},
"LAYOUT_tkl_ansi": {
- "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":2, "y":0}, {"label":"F2", "x":3, "y":0}, {"label":"F3", "x":4, "y":0}, {"label":"F4", "x":5, "y":0}, {"label":"F5", "x":6.5, "y":0}, {"label":"F6", "x":7.5, "y":0}, {"label":"F7", "x":8.5, "y":0}, {"label":"F8", "x":9.5, "y":0}, {"label":"F9", "x":11, "y":0}, {"label":"F10", "x":12, "y":0}, {"label":"F11", "x":13, "y":0}, {"label":"F12", "x":14, "y":0}, {"label":"PrtSc", "x":15.25, "y":0}, {"label":"Scroll Lock", "x":16.25, "y":0}, {"label":"Pause", "x":17.25, "y":0}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"Backspace", "x":13, "y":1.5, "w":2}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, {"label":"Shift", "x":0, "y":4.5, "w":2.25}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":6.25}, {"label":"Alt", "x":10, "y":5.5, "w":1.25}, {"label":"Win", "x":11.25, "y":5.5, "w":1.25}, {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
+ "layout": [
+ {"matrix": [6, 6], "x": 0, "y": 0},
+
+ {"matrix": [4, 7], "x": 2, "y": 0},
+ {"matrix": [4, 8], "x": 3, "y": 0},
+ {"matrix": [2, 8], "x": 4, "y": 0},
+ {"matrix": [6, 8], "x": 5, "y": 0},
+
+ {"matrix": [5, 15], "x": 6.5, "y": 0},
+ {"matrix": [6, 11], "x": 7.5, "y": 0},
+ {"matrix": [2, 12], "x": 8.5, "y": 0},
+ {"matrix": [4, 12], "x": 9.5, "y": 0},
+
+ {"matrix": [4, 14], "x": 11, "y": 0},
+ {"matrix": [5, 14], "x": 12, "y": 0},
+ {"matrix": [6, 14], "x": 13, "y": 0},
+ {"matrix": [0, 14], "x": 14, "y": 0},
+
+ {"matrix": [5, 13], "x": 15.25, "y": 0},
+ {"matrix": [7, 13], "x": 16.25, "y": 0},
+ {"matrix": [7, 15], "x": 17.25, "y": 0},
+
+ {"matrix": [4, 6], "x": 0, "y": 1.5},
+ {"matrix": [5, 6], "x": 1, "y": 1.5},
+ {"matrix": [5, 7], "x": 2, "y": 1.5},
+ {"matrix": [5, 8], "x": 3, "y": 1.5},
+ {"matrix": [5, 9], "x": 4, "y": 1.5},
+ {"matrix": [4, 9], "x": 5, "y": 1.5},
+ {"matrix": [4, 10], "x": 6, "y": 1.5},
+ {"matrix": [5, 10], "x": 7, "y": 1.5},
+ {"matrix": [5, 11], "x": 8, "y": 1.5},
+ {"matrix": [5, 12], "x": 9, "y": 1.5},
+ {"matrix": [5, 5], "x": 10, "y": 1.5},
+ {"matrix": [4, 5], "x": 11, "y": 1.5},
+ {"matrix": [4, 11], "x": 12, "y": 1.5},
+ {"matrix": [2, 14], "x": 13, "y": 1.5, "w": 2},
+
+ {"matrix": [4, 17], "x": 15.25, "y": 1.5},
+ {"matrix": [4, 2], "x": 16.25, "y": 1.5},
+ {"matrix": [4, 4], "x": 17.25, "y": 1.5},
+
+ {"matrix": [2, 6], "x": 0, "y": 2.5, "w": 1.5},
+ {"matrix": [7, 6], "x": 1.5, "y": 2.5},
+ {"matrix": [7, 7], "x": 2.5, "y": 2.5},
+ {"matrix": [7, 8], "x": 3.5, "y": 2.5},
+ {"matrix": [7, 9], "x": 4.5, "y": 2.5},
+ {"matrix": [2, 9], "x": 5.5, "y": 2.5},
+ {"matrix": [2, 10], "x": 6.5, "y": 2.5},
+ {"matrix": [7, 10], "x": 7.5, "y": 2.5},
+ {"matrix": [7, 11], "x": 8.5, "y": 2.5},
+ {"matrix": [7, 12], "x": 9.5, "y": 2.5},
+ {"matrix": [7, 5], "x": 10.5, "y": 2.5},
+ {"matrix": [2, 5], "x": 11.5, "y": 2.5},
+ {"matrix": [2, 11], "x": 12.5, "y": 2.5},
+ {"matrix": [3, 14], "x": 13.5, "y": 2.5, "w": 1.5},
+
+ {"matrix": [4, 16], "x": 15.25, "y": 2.5},
+ {"matrix": [5, 2], "x": 16.25, "y": 2.5},
+ {"matrix": [5, 4], "x": 17.25, "y": 2.5},
+
+ {"matrix": [2, 7], "x": 0, "y": 3.5, "w": 1.75},
+ {"matrix": [3, 6], "x": 1.75, "y": 3.5},
+ {"matrix": [3, 7], "x": 2.75, "y": 3.5},
+ {"matrix": [3, 8], "x": 3.75, "y": 3.5},
+ {"matrix": [3, 9], "x": 4.75, "y": 3.5},
+ {"matrix": [6, 9], "x": 5.75, "y": 3.5},
+ {"matrix": [6, 10], "x": 6.75, "y": 3.5},
+ {"matrix": [3, 10], "x": 7.75, "y": 3.5},
+ {"matrix": [3, 11], "x": 8.75, "y": 3.5},
+ {"matrix": [3, 12], "x": 9.75, "y": 3.5},
+ {"matrix": [3, 5], "x": 10.75, "y": 3.5},
+ {"matrix": [6, 5], "x": 11.75, "y": 3.5},
+ {"matrix": [1, 14], "x": 12.75, "y": 3.5, "w": 2.25},
+
+ {"matrix": [2, 1], "x": 0, "y": 4.5, "w": 2.25},
+ {"matrix": [1, 6], "x": 2.25, "y": 4.5},
+ {"matrix": [1, 7], "x": 3.25, "y": 4.5},
+ {"matrix": [1, 8], "x": 4.25, "y": 4.5},
+ {"matrix": [1, 9], "x": 5.25, "y": 4.5},
+ {"matrix": [0, 9], "x": 6.25, "y": 4.5},
+ {"matrix": [0, 10], "x": 7.25, "y": 4.5},
+ {"matrix": [1, 10], "x": 8.25, "y": 4.5},
+ {"matrix": [1, 11], "x": 9.25, "y": 4.5},
+ {"matrix": [1, 12], "x": 10.25, "y": 4.5},
+ {"matrix": [0, 5], "x": 11.25, "y": 4.5},
+ {"matrix": [3, 1], "x": 12.25, "y": 4.5, "w": 2.75},
+
+ {"matrix": [6, 2], "x": 16.25, "y": 4.5},
+
+ {"matrix": [4, 15], "x": 0, "y": 5.5, "w": 1.25},
+ {"matrix": [2, 13], "x": 1.25, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 13], "x": 2.5, "y": 5.5, "w": 1.25},
+ {"matrix": [6, 16], "x": 3.75, "y": 5.5, "w": 6.25},
+ {"matrix": [0, 13], "x": 10, "y": 5.5, "w": 1.25},
+ {"matrix": [3, 13], "x": 11.25, "y": 5.5, "w": 1.25},
+ {"matrix": [0, 12], "x": 12.5, "y": 5.5, "w": 1.25},
+ {"matrix": [1, 15], "x": 13.75, "y": 5.5, "w": 1.25},
+
+ {"matrix": [0, 2], "x": 15.25, "y": 5.5},
+ {"matrix": [0, 16], "x": 16.25, "y": 5.5},
+ {"matrix": [0, 17], "x": 17.25, "y": 5.5}
+ ]
}
}
}
diff --git a/keyboards/bpiphany/unloved_bastard/unloved_bastard.h b/keyboards/bpiphany/unloved_bastard/unloved_bastard.h
deleted file mode 100644
index 26fce8749a..0000000000
--- a/keyboards/bpiphany/unloved_bastard/unloved_bastard.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* Copyright 2018 Alexander Fougner <fougner89 at gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-#define LAYOUT_all( \
- KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \
- KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \
- KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \
- KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \
- KB2, KH6, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \
- KP4, KN2, KN6, KQ6, KN0, KN3, KM0, KP1, KC0, KQ0, KR0 \
-) { \
- { XXX, XXX, KC0, XXX, XXX, KF0, XXX, XXX, XXX, KJ0, KK0, XXX, KM0, KN0, KO0, XXX, KQ0, KR0 }, \
- { XXX, XXX, XXX, XXX, XXX, XXX, KG1, KH1, KI1, KJ1, KK1, KL1, KM1, XXX, KO1, KP1, XXX, XXX }, \
- { XXX, KB2, XXX, XXX, XXX, KF2, KG2, KH2, KI2, KJ2, KK2, KL2, KM2, KN2, KO2, XXX, XXX, XXX }, \
- { XXX, KB3, XXX, XXX, XXX, KF3, KG3, KH3, KI3, KJ3, KK3, KL3, KM3, KN3, KO3, XXX, XXX, XXX }, \
- { XXX, XXX, KC4, XXX, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KL4, KM4, XXX, KO4, KP4, KQ4, KR4 }, \
- { XXX, XXX, KC5, XXX, KE5, KF5, KG5, KH5, KI5, KJ5, KK5, KL5, KM5, KN5, KO5, KP5, XXX, XXX }, \
- { XXX, XXX, KC6, XXX, XXX, KF6, KG6, KH6, KI6, KJ6, KK6, KL6, XXX, KN6, KO6, XXX, KQ6, XXX }, \
- { XXX, XXX, XXX, XXX, XXX, KF7, KG7, KH7, KI7, KJ7, KK7, KL7, KM7, KN7, XXX, KP7, XXX, XXX } \
-}
-
-#define LAYOUT_tkl_ansi( \
- KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \
- KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \
- KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \
- KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \
- KB2, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \
- KP4, KN2, KN6, KQ6, KN0, KN3, KM0, KP1, KC0, KQ0, KR0 \
-) { \
- { XXX, XXX, KC0, XXX, XXX, KF0, XXX, XXX, XXX, KJ0, KK0, XXX, KM0, KN0, KO0, XXX, KQ0, KR0 }, \
- { XXX, XXX, XXX, XXX, XXX, XXX, KG1, KH1, KI1, KJ1, KK1, KL1, KM1, XXX, KO1, KP1, XXX, XXX }, \
- { XXX, KB2, XXX, XXX, XXX, KF2, KG2, KH2, KI2, KJ2, KK2, KL2, KM2, KN2, KO2, XXX, XXX, XXX }, \
- { XXX, KB3, XXX, XXX, XXX, KF3, KG3, KH3, KI3, KJ3, KK3, KL3, KM3, KN3, KO3, XXX, XXX, XXX }, \
- { XXX, XXX, KC4, XXX, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KL4, KM4, XXX, KO4, KP4, KQ4, KR4 }, \
- { XXX, XXX, KC5, XXX, KE5, KF5, KG5, KH5, KI5, KJ5, KK5, KL5, KM5, KN5, KO5, KP5, XXX, XXX }, \
- { XXX, XXX, KC6, XXX, XXX, KF6, KG6, XXX, KI6, KJ6, KK6, KL6, XXX, KN6, KO6, XXX, KQ6, XXX }, \
- { XXX, XXX, XXX, XXX, XXX, KF7, KG7, KH7, KI7, KJ7, KK7, KL7, KM7, KN7, XXX, KP7, XXX, XXX } \
-}
-
-#define LAYOUT_tkl_iso( \
- KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \
- KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \
- KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KQ4, KC5, KE5, \
- KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO3, KO1, \
- KB2, KH6, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \
- KP4, KN2, KN6, KQ6, KN0, KN3, KM0, KP1, KC0, KQ0, KR0 \
-) { \
- { XXX, XXX, KC0, XXX, XXX, KF0, XXX, XXX, XXX, KJ0, KK0, XXX, KM0, KN0, KO0, XXX, KQ0, KR0 }, \
- { XXX, XXX, XXX, XXX, XXX, XXX, KG1, KH1, KI1, KJ1, KK1, KL1, KM1, XXX, KO1, KP1, XXX, XXX }, \
- { XXX, KB2, XXX, XXX, XXX, KF2, KG2, KH2, KI2, KJ2, KK2, KL2, KM2, KN2, KO2, XXX, XXX, XXX }, \
- { XXX, KB3, XXX, XXX, XXX, KF3, KG3, KH3, KI3, KJ3, KK3, KL3, KM3, KN3, KO3, XXX, XXX, XXX }, \
- { XXX, XXX, KC4, XXX, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KL4, KM4, XXX, KO4, KP4, KQ4, KR4 }, \
- { XXX, XXX, KC5, XXX, KE5, KF5, KG5, KH5, KI5, KJ5, KK5, KL5, KM5, KN5, KO5, KP5, XXX, XXX }, \
- { XXX, XXX, KC6, XXX, XXX, KF6, KG6, KH6, KI6, KJ6, KK6, KL6, XXX, KN6, KO6, XXX, KQ6, XXX }, \
- { XXX, XXX, XXX, XXX, XXX, KF7, KG7, KH7, KI7, KJ7, KK7, KL7, KM7, KN7, XXX, KP7, XXX, XXX } \
-}
-
-#define LAYOUT LAYOUT_all