diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-15 21:07:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 21:07:32 +1000 |
commit | a84528f85392ccab60fd7130fecb83972539367f (patch) | |
tree | 4484e8b5dd0120c896ac2dabb70c2f727bae55ba /keyboards/mt | |
parent | 54634e92634f73a6d9111833adf58214cb4278c3 (diff) |
Move remaining `LAYOUT`s to data driven (#20422)
Diffstat (limited to 'keyboards/mt')
-rw-r--r-- | keyboards/mt/split75/info.json | 231 | ||||
-rw-r--r-- | keyboards/mt/split75/matrix.c | 1 | ||||
-rw-r--r-- | keyboards/mt/split75/split75.h | 50 |
3 files changed, 229 insertions, 53 deletions
diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json index 53604882e3..dc57ef4a08 100644 --- a/keyboards/mt/split75/info.json +++ b/keyboards/mt/split75/info.json @@ -23,10 +23,237 @@ "bootloader": "bootloadhid", "layouts": { "LAYOUT": { - "layout": [{"label":"ESC", "x":2.25, "y":0}, {"label":"F1", "x":3.25, "y":0}, {"label":"F2", "x":4.25, "y":0}, {"label":"F3", "x":5.25, "y":0}, {"label":"F4", "x":6.25, "y":0}, {"label":"F5", "x":7.25, "y":0}, {"label":"F6", "x":8.25, "y":0}, {"label":"F7", "x":10.25, "y":0}, {"label":"F8", "x":11.25, "y":0}, {"label":"F9", "x":12.25, "y":0}, {"label":"F10", "x":13.25, "y":0}, {"label":"F11", "x":14.25, "y":0}, {"label":"F12", "x":15.25, "y":0}, {"label":"Prt", "x":16.25, "y":0}, {"label":"Ins", "x":17.25, "y":0}, {"label":"Del", "x":18.25, "y":0}, {"label":"8", "x":0, "y":1}, {"label":"9", "x":1, "y":1}, {"label":"~", "x":2.25, "y":1}, {"label":"!", "x":3.25, "y":1}, {"label":"@", "x":4.25, "y":1}, {"label":"#", "x":5.25, "y":1}, {"label":"$", "x":6.25, "y":1}, {"label":"%", "x":7.25, "y":1}, {"label":"^", "x":8.25, "y":1}, {"label":"&", "x":10.25, "y":1}, {"label":"*", "x":11.25, "y":1}, {"label":"(", "x":12.25, "y":1}, {"label":")", "x":13.25, "y":1}, {"label":"_", "x":14.25, "y":1}, {"label":"+", "x":15.25, "y":1}, {"label":"Backspace", "x":16.25, "y":1, "w":2}, {"label":"Home", "x":18.25, "y":1}, {"label":"6", "x":0, "y":2}, {"label":"7", "x":1, "y":2}, {"label":"Tab", "x":2.25, "y":2, "w":1.5}, {"label":"Q", "x":3.75, "y":2}, {"label":"W", "x":4.75, "y":2}, {"label":"E", "x":5.75, "y":2}, {"label":"R", "x":6.75, "y":2}, {"label":"T", "x":7.75, "y":2}, {"label":"Y", "x":9.75, "y":2}, {"label":"U", "x":10.75, "y":2}, {"label":"I", "x":11.75, "y":2}, {"label":"O", "x":12.75, "y":2}, {"label":"P", "x":13.75, "y":2}, {"label":"{", "x":14.75, "y":2}, {"label":"}", "x":15.75, "y":2}, {"label":"|", "x":16.75, "y":2, "w":1.5}, {"label":"PgUp", "x":18.25, "y":2}, {"label":"4", "x":0, "y":3}, {"label":"5", "x":1, "y":3}, {"label":"Caps Lock", "x":2.25, "y":3, "w":1.75}, {"label":"A", "x":4, "y":3}, {"label":"S", "x":5, "y":3}, {"label":"D", "x":6, "y":3}, {"label":"F", "x":7, "y":3}, {"label":"G", "x":8, "y":3}, {"label":"H", "x":10, "y":3}, {"label":"J", "x":11, "y":3}, {"label":"K", "x":12, "y":3}, {"label":"L", "x":13, "y":3}, {"label":":", "x":14, "y":3}, {"label":"\"", "x":15, "y":3}, {"label":"Enter", "x":16, "y":3, "w":2.25}, {"label":"PgDn", "x":18.25, "y":3}, {"label":"2", "x":0, "y":4}, {"label":"3", "x":1, "y":4}, {"label":"Shift", "x":2.25, "y":4, "w":2.25}, {"label":"Z", "x":4.5, "y":4}, {"label":"X", "x":5.5, "y":4}, {"label":"C", "x":6.5, "y":4}, {"label":"V", "x":7.5, "y":4}, {"label":"B", "x":8.5, "y":4}, {"label":"N", "x":10.5, "y":4}, {"label":"M", "x":11.5, "y":4}, {"label":"<", "x":12.5, "y":4}, {"label":">", "x":13.5, "y":4}, {"label":"?", "x":14.5, "y":4}, {"label":"Shift", "x":15.5, "y":4, "w":1.75}, {"label":"\u2191", "x":17.25, "y":4}, {"label":"End", "x":18.25, "y":4}, {"label":"0", "x":0, "y":5}, {"label":"1", "x":1, "y":5}, {"label":"Ctrl", "x":2.25, "y":5, "w":1.25}, {"label":"Win", "x":3.5, "y":5, "w":1.25}, {"label":"Alt", "x":4.75, "y":5, "w":1.25}, {"x":6, "y":5, "w":2}, {"x":8, "y":5}, {"x":10, "y":5, "w":2.75}, {"label":"Alt", "x":12.75, "y":5, "w":1.25}, {"label":"Fn", "x":14, "y":5}, {"label":"Ctrl", "x":15, "y":5, "w":1.25}, {"label":"\u2190", "x":16.25, "y":5}, {"label":"\u2193", "x":17.25, "y":5}, {"label":"\u2192", "x":18.25, "y":5}] + "layout": [ + {"matrix": [5, 0], "x": 2.25, "y": 0}, + {"matrix": [5, 1], "x": 3.25, "y": 0}, + {"matrix": [5, 2], "x": 4.25, "y": 0}, + {"matrix": [5, 3], "x": 5.25, "y": 0}, + {"matrix": [5, 4], "x": 6.25, "y": 0}, + {"matrix": [5, 5], "x": 7.25, "y": 0}, + {"matrix": [5, 6], "x": 8.25, "y": 0}, + + {"matrix": [5, 7], "x": 10.25, "y": 0}, + {"matrix": [5, 8], "x": 11.25, "y": 0}, + {"matrix": [5, 9], "x": 12.25, "y": 0}, + {"matrix": [5, 10], "x": 13.25, "y": 0}, + {"matrix": [5, 11], "x": 14.25, "y": 0}, + {"matrix": [5, 12], "x": 15.25, "y": 0}, + {"matrix": [5, 13], "x": 16.25, "y": 0}, + {"matrix": [6, 8], "x": 17.25, "y": 0}, + {"matrix": [7, 8], "x": 18.25, "y": 0}, + + {"matrix": [7, 4], "x": 0, "y": 1}, + {"matrix": [6, 4], "x": 1, "y": 1}, + + {"matrix": [4, 0], "x": 2.25, "y": 1}, + {"matrix": [4, 1], "x": 3.25, "y": 1}, + {"matrix": [4, 2], "x": 4.25, "y": 1}, + {"matrix": [4, 3], "x": 5.25, "y": 1}, + {"matrix": [4, 4], "x": 6.25, "y": 1}, + {"matrix": [4, 5], "x": 7.25, "y": 1}, + {"matrix": [4, 6], "x": 8.25, "y": 1}, + + {"matrix": [4, 7], "x": 10.25, "y": 1}, + {"matrix": [4, 8], "x": 11.25, "y": 1}, + {"matrix": [4, 9], "x": 12.25, "y": 1}, + {"matrix": [4, 10], "x": 13.25, "y": 1}, + {"matrix": [4, 11], "x": 14.25, "y": 1}, + {"matrix": [4, 12], "x": 15.25, "y": 1}, + {"matrix": [6, 9], "x": 16.25, "y": 1, "w": 2}, + {"matrix": [7, 9], "x": 18.25, "y": 1}, + + {"matrix": [7, 3], "x": 0, "y": 2}, + {"matrix": [6, 3], "x": 1, "y": 2}, + + {"matrix": [3, 0], "x": 2.25, "y": 2, "w": 1.5}, + {"matrix": [3, 1], "x": 3.75, "y": 2}, + {"matrix": [3, 2], "x": 4.75, "y": 2}, + {"matrix": [3, 3], "x": 5.75, "y": 2}, + {"matrix": [3, 4], "x": 6.75, "y": 2}, + {"matrix": [3, 5], "x": 7.75, "y": 2}, + + {"matrix": [3, 7], "x": 9.75, "y": 2}, + {"matrix": [3, 8], "x": 10.75, "y": 2}, + {"matrix": [3, 9], "x": 11.75, "y": 2}, + {"matrix": [3, 10], "x": 12.75, "y": 2}, + {"matrix": [3, 11], "x": 13.75, "y": 2}, + {"matrix": [3, 12], "x": 14.75, "y": 2}, + {"matrix": [3, 13], "x": 15.75, "y": 2}, + {"matrix": [6, 10], "x": 16.75, "y": 2, "w": 1.5}, + {"matrix": [7, 10], "x": 18.25, "y": 2}, + + {"matrix": [7, 2], "x": 0, "y": 3}, + {"matrix": [6, 2], "x": 1, "y": 3}, + + {"matrix": [2, 0], "x": 2.25, "y": 3, "w": 1.75}, + {"matrix": [2, 1], "x": 4, "y": 3}, + {"matrix": [2, 2], "x": 5, "y": 3}, + {"matrix": [2, 3], "x": 6, "y": 3}, + {"matrix": [2, 4], "x": 7, "y": 3}, + {"matrix": [2, 5], "x": 8, "y": 3}, + + {"matrix": [2, 7], "x": 10, "y": 3}, + {"matrix": [2, 8], "x": 11, "y": 3}, + {"matrix": [2, 9], "x": 12, "y": 3}, + {"matrix": [2, 10], "x": 13, "y": 3}, + {"matrix": [2, 11], "x": 14, "y": 3}, + {"matrix": [2, 12], "x": 15, "y": 3}, + {"matrix": [6, 11], "x": 16, "y": 3, "w": 2.25}, + {"matrix": [7, 11], "x": 18.25, "y": 3}, + + {"matrix": [7, 1], "x": 0, "y": 4}, + {"matrix": [6, 1], "x": 1, "y": 4}, + + {"matrix": [1, 0], "x": 2.25, "y": 4, "w": 2.25}, + {"matrix": [1, 2], "x": 4.5, "y": 4}, + {"matrix": [1, 3], "x": 5.5, "y": 4}, + {"matrix": [1, 4], "x": 6.5, "y": 4}, + {"matrix": [1, 5], "x": 7.5, "y": 4}, + {"matrix": [1, 6], "x": 8.5, "y": 4}, + + {"matrix": [1, 7], "x": 10.5, "y": 4}, + {"matrix": [1, 8], "x": 11.5, "y": 4}, + {"matrix": [1, 9], "x": 12.5, "y": 4}, + {"matrix": [1, 10], "x": 13.5, "y": 4}, + {"matrix": [1, 11], "x": 14.5, "y": 4}, + {"matrix": [1, 13], "x": 15.5, "y": 4, "w": 1.75}, + {"matrix": [6, 12], "x": 17.25, "y": 4}, + {"matrix": [7, 12], "x": 18.25, "y": 4}, + + {"matrix": [7, 0], "x": 0, "y": 5}, + {"matrix": [6, 0], "x": 1, "y": 5}, + + {"matrix": [0, 0], "x": 2.25, "y": 5, "w": 1.25}, + {"matrix": [0, 1], "x": 3.5, "y": 5, "w": 1.25}, + {"matrix": [0, 2], "x": 4.75, "y": 5, "w": 1.25}, + {"matrix": [0, 3], "x": 6, "y": 5, "w": 2}, + {"matrix": [0, 4], "x": 8, "y": 5}, + + {"matrix": [0, 7], "x": 10, "y": 5, "w": 2.75}, + {"matrix": [0, 10], "x": 12.75, "y": 5, "w": 1.25}, + {"matrix": [0, 11], "x": 14, "y": 5}, + {"matrix": [0, 12], "x": 15, "y": 5, "w": 1.25}, + {"matrix": [0, 13], "x": 16.25, "y": 5}, + {"matrix": [6, 13], "x": 17.25, "y": 5}, + {"matrix": [7, 13], "x": 18.25, "y": 5} + ] }, "LAYOUT_iso": { - "layout": [{"label":"ESC", "x":2.25, "y":0}, {"label":"F1", "x":3.25, "y":0}, {"label":"F2", "x":4.25, "y":0}, {"label":"F3", "x":5.25, "y":0}, {"label":"F4", "x":6.25, "y":0}, {"label":"F5", "x":7.25, "y":0}, {"label":"F6", "x":8.25, "y":0}, {"label":"F7", "x":10.25, "y":0}, {"label":"F8", "x":11.25, "y":0}, {"label":"F9", "x":12.25, "y":0}, {"label":"F10", "x":13.25, "y":0}, {"label":"F11", "x":14.25, "y":0}, {"label":"F12", "x":15.25, "y":0}, {"label":"Prt", "x":16.25, "y":0}, {"label":"Ins", "x":17.25, "y":0}, {"label":"Del", "x":18.25, "y":0}, {"label":"8", "x":0, "y":1}, {"label":"9", "x":1, "y":1}, {"label":"~", "x":2.25, "y":1}, {"label":"!", "x":3.25, "y":1}, {"label":"@", "x":4.25, "y":1}, {"label":"#", "x":5.25, "y":1}, {"label":"$", "x":6.25, "y":1}, {"label":"%", "x":7.25, "y":1}, {"label":"^", "x":8.25, "y":1}, {"label":"&", "x":10.25, "y":1}, {"label":"*", "x":11.25, "y":1}, {"label":"(", "x":12.25, "y":1}, {"label":")", "x":13.25, "y":1}, {"label":"_", "x":14.25, "y":1}, {"label":"+", "x":15.25, "y":1}, {"label":"Backspace", "x":16.25, "y":1, "w":2}, {"label":"Home", "x":18.25, "y":1}, {"label":"6", "x":0, "y":2}, {"label":"7", "x":1, "y":2}, {"label":"Tab", "x":2.25, "y":2, "w":1.5}, {"label":"Q", "x":3.75, "y":2}, {"label":"W", "x":4.75, "y":2}, {"label":"E", "x":5.75, "y":2}, {"label":"R", "x":6.75, "y":2}, {"label":"T", "x":7.75, "y":2}, {"label":"Y", "x":9.75, "y":2}, {"label":"U", "x":10.75, "y":2}, {"label":"I", "x":11.75, "y":2}, {"label":"O", "x":12.75, "y":2}, {"label":"P", "x":13.75, "y":2}, {"label":"{", "x":14.75, "y":2}, {"label":"}", "x":15.75, "y":2}, {"label":"PgUp", "x":18.25, "y":2}, {"label":"4", "x":0, "y":3}, {"label":"5", "x":1, "y":3}, {"label":"Caps Lock", "x":2.25, "y":3, "w":1.75}, {"label":"A", "x":4, "y":3}, {"label":"S", "x":5, "y":3}, {"label":"D", "x":6, "y":3}, {"label":"F", "x":7, "y":3}, {"label":"G", "x":8, "y":3}, {"label":"H", "x":10, "y":3}, {"label":"J", "x":11, "y":3}, {"label":"K", "x":12, "y":3}, {"label":"L", "x":13, "y":3}, {"label":":", "x":14, "y":3}, {"label":"\"", "x":15, "y":3}, {"label":"'", "x":16, "y":3}, {"label":"Enter", "x":17, "y":2, "w":1.25, "h":2}, {"label":"PgDn", "x":18.25, "y":3}, {"label":"2", "x":0, "y":4}, {"label":"3", "x":1, "y":4}, {"label":"Shift", "x":2.25, "y":4, "w":1.25}, {"label":"|", "x":3.5, "y":4}, {"label":"Z", "x":4.5, "y":4}, {"label":"X", "x":5.5, "y":4}, {"label":"C", "x":6.5, "y":4}, {"label":"V", "x":7.5, "y":4}, {"label":"B", "x":8.5, "y":4}, {"label":"N", "x":10.5, "y":4}, {"label":"M", "x":11.5, "y":4}, {"label":"<", "x":12.5, "y":4}, {"label":">", "x":13.5, "y":4}, {"label":"?", "x":14.5, "y":4}, {"label":"Shift", "x":15.5, "y":4, "w":1.75}, {"label":"\u2191", "x":17.25, "y":4}, {"label":"End", "x":18.25, "y":4}, {"label":"0", "x":0, "y":5}, {"label":"1", "x":1, "y":5}, {"label":"Ctrl", "x":2.25, "y":5, "w":1.25}, {"label":"Win", "x":3.5, "y":5, "w":1.25}, {"label":"Alt", "x":4.75, "y":5, "w":1.25}, {"x":6, "y":5, "w":2}, {"x":8, "y":5}, {"x":10, "y":5, "w":2.75}, {"label":"Alt", "x":12.75, "y":5, "w":1.25}, {"label":"Fn", "x":14, "y":5}, {"label":"Ctrl", "x":15, "y":5, "w":1.25}, {"label":"\u2190", "x":16.25, "y":5}, {"label":"\u2193", "x":17.25, "y":5}, {"label":"\u2192", "x":18.25, "y":5}] + "layout": [ + {"matrix": [5, 0], "x": 2.25, "y": 0}, + {"matrix": [5, 1], "x": 3.25, "y": 0}, + {"matrix": [5, 2], "x": 4.25, "y": 0}, + {"matrix": [5, 3], "x": 5.25, "y": 0}, + {"matrix": [5, 4], "x": 6.25, "y": 0}, + {"matrix": [5, 5], "x": 7.25, "y": 0}, + {"matrix": [5, 6], "x": 8.25, "y": 0}, + + {"matrix": [5, 7], "x": 10.25, "y": 0}, + {"matrix": [5, 8], "x": 11.25, "y": 0}, + {"matrix": [5, 9], "x": 12.25, "y": 0}, + {"matrix": [5, 10], "x": 13.25, "y": 0}, + {"matrix": [5, 11], "x": 14.25, "y": 0}, + {"matrix": [5, 12], "x": 15.25, "y": 0}, + {"matrix": [5, 13], "x": 16.25, "y": 0}, + {"matrix": [6, 8], "x": 17.25, "y": 0}, + {"matrix": [7, 8], "x": 18.25, "y": 0}, + + {"matrix": [7, 4], "x": 0, "y": 1}, + {"matrix": [6, 4], "x": 1, "y": 1}, + + {"matrix": [4, 0], "x": 2.25, "y": 1}, + {"matrix": [4, 1], "x": 3.25, "y": 1}, + {"matrix": [4, 2], "x": 4.25, "y": 1}, + {"matrix": [4, 3], "x": 5.25, "y": 1}, + {"matrix": [4, 4], "x": 6.25, "y": 1}, + {"matrix": [4, 5], "x": 7.25, "y": 1}, + {"matrix": [4, 6], "x": 8.25, "y": 1}, + + {"matrix": [4, 7], "x": 10.25, "y": 1}, + {"matrix": [4, 8], "x": 11.25, "y": 1}, + {"matrix": [4, 9], "x": 12.25, "y": 1}, + {"matrix": [4, 10], "x": 13.25, "y": 1}, + {"matrix": [4, 11], "x": 14.25, "y": 1}, + {"matrix": [4, 12], "x": 15.25, "y": 1}, + {"matrix": [6, 9], "x": 16.25, "y": 1, "w": 2}, + {"matrix": [7, 9], "x": 18.25, "y": 1}, + + {"matrix": [7, 3], "x": 0, "y": 2}, + {"matrix": [6, 3], "x": 1, "y": 2}, + + {"matrix": [3, 0], "x": 2.25, "y": 2, "w": 1.5}, + {"matrix": [3, 1], "x": 3.75, "y": 2}, + {"matrix": [3, 2], "x": 4.75, "y": 2}, + {"matrix": [3, 3], "x": 5.75, "y": 2}, + {"matrix": [3, 4], "x": 6.75, "y": 2}, + {"matrix": [3, 5], "x": 7.75, "y": 2}, + + {"matrix": [3, 7], "x": 9.75, "y": 2}, + {"matrix": [3, 8], "x": 10.75, "y": 2}, + {"matrix": [3, 9], "x": 11.75, "y": 2}, + {"matrix": [3, 10], "x": 12.75, "y": 2}, + {"matrix": [3, 11], "x": 13.75, "y": 2}, + {"matrix": [3, 12], "x": 14.75, "y": 2}, + {"matrix": [3, 13], "x": 15.75, "y": 2}, + {"matrix": [7, 10], "x": 18.25, "y": 2}, + + {"matrix": [7, 2], "x": 0, "y": 3}, + {"matrix": [6, 2], "x": 1, "y": 3}, + + {"matrix": [2, 0], "x": 2.25, "y": 3, "w": 1.75}, + {"matrix": [2, 1], "x": 4, "y": 3}, + {"matrix": [2, 2], "x": 5, "y": 3}, + {"matrix": [2, 3], "x": 6, "y": 3}, + {"matrix": [2, 4], "x": 7, "y": 3}, + {"matrix": [2, 5], "x": 8, "y": 3}, + + {"matrix": [2, 7], "x": 10, "y": 3}, + {"matrix": [2, 8], "x": 11, "y": 3}, + {"matrix": [2, 9], "x": 12, "y": 3}, + {"matrix": [2, 10], "x": 13, "y": 3}, + {"matrix": [2, 11], "x": 14, "y": 3}, + {"matrix": [2, 12], "x": 15, "y": 3}, + {"matrix": [2, 13], "x": 16, "y": 3}, + {"matrix": [6, 11], "x": 17, "y": 2, "w": 1.25, "h": 2}, + {"matrix": [7, 11], "x": 18.25, "y": 3}, + + {"matrix": [7, 1], "x": 0, "y": 4}, + {"matrix": [6, 1], "x": 1, "y": 4}, + + {"matrix": [1, 0], "x": 2.25, "y": 4, "w": 1.25}, + {"matrix": [1, 1], "x": 3.5, "y": 4}, + {"matrix": [1, 2], "x": 4.5, "y": 4}, + {"matrix": [1, 3], "x": 5.5, "y": 4}, + {"matrix": [1, 4], "x": 6.5, "y": 4}, + {"matrix": [1, 5], "x": 7.5, "y": 4}, + {"matrix": [1, 6], "x": 8.5, "y": 4}, + + {"matrix": [1, 7], "x": 10.5, "y": 4}, + {"matrix": [1, 8], "x": 11.5, "y": 4}, + {"matrix": [1, 9], "x": 12.5, "y": 4}, + {"matrix": [1, 10], "x": 13.5, "y": 4}, + {"matrix": [1, 11], "x": 14.5, "y": 4}, + {"matrix": [1, 13], "x": 15.5, "y": 4, "w": 1.75}, + {"matrix": [6, 12], "x": 17.25, "y": 4}, + {"matrix": [7, 12], "x": 18.25, "y": 4}, + + {"matrix": [7, 0], "x": 0, "y": 5}, + {"matrix": [6, 0], "x": 1, "y": 5}, + + {"matrix": [0, 0], "x": 2.25, "y": 5, "w": 1.25}, + {"matrix": [0, 1], "x": 3.5, "y": 5, "w": 1.25}, + {"matrix": [0, 2], "x": 4.75, "y": 5, "w": 1.25}, + {"matrix": [0, 3], "x": 6, "y": 5, "w": 2}, + {"matrix": [0, 4], "x": 8, "y": 5}, + + {"matrix": [0, 7], "x": 10, "y": 5, "w": 2.75}, + {"matrix": [0, 10], "x": 12.75, "y": 5, "w": 1.25}, + {"matrix": [0, 11], "x": 14, "y": 5}, + {"matrix": [0, 12], "x": 15, "y": 5, "w": 1.25}, + {"matrix": [0, 13], "x": 16.25, "y": 5}, + {"matrix": [6, 13], "x": 17.25, "y": 5}, + {"matrix": [7, 13], "x": 18.25, "y": 5} + ] } } } diff --git a/keyboards/mt/split75/matrix.c b/keyboards/mt/split75/matrix.c index 9e86bfc376..196a543faa 100644 --- a/keyboards/mt/split75/matrix.c +++ b/keyboards/mt/split75/matrix.c @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <stdio.h> #include "quantum.h" #include "i2c_master.h" -#include "split75.h" #define RIGHT_HALF diff --git a/keyboards/mt/split75/split75.h b/keyboards/mt/split75/split75.h deleted file mode 100644 index a01db5188e..0000000000 --- a/keyboards/mt/split75/split75.h +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Artjoms Rizihs (@artjomsR) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" - -// Number of keys in rows -// 0 + 7 / 9 -// 2 + 7 / 8 -// 2 + 6 / 9 -// 2 + 6 / 8 -// 2 + 6 / 8 -// 2 + 5 / 7 - -#define LAYOUT( \ - K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125, K135, K86, K87, \ - K47, K46, K04, K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, K96, K97, \ - K37, K36, K03, K13, K23, K33, K43, K53, K73, K83, K93, K103, K113, K123, K133, K106, K107, \ - K27, K26, K02, K12, K22, K32, K42, K52, K72, K82, K92, K102, K112, K122, K116, K117, \ - K17, K16, K01, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, K131, K126, K127, \ - K07, K06, K00, K10, K20, K30, K40, K70, K100, K110, K120, K130, K136, K137 \ -){ \ - { K00, K10, K20, K30, K40, KC_NO, KC_NO, K70, KC_NO, KC_NO, K100, K110, K120, K130 }, \ - { K01, KC_NO, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, KC_NO, K131 }, \ - { K02, K12, K22, K32, K42, K52, KC_NO, K72, K82, K92, K102, K112, K122, }, \ - { K03, K13, K23, K33, K43, K53, KC_NO, K73, K83, K93, K103, K113, K123, K133 }, \ - { K04, K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, }, \ - { K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125, K135 }, \ - { K06, K16, K26, K36, K46, KC_NO, KC_NO, KC_NO, K86, K96, K106, K116, K126, K136 }, \ - { K07, K17, K27, K37, K47, KC_NO, KC_NO, KC_NO, K87, K97, K107, K117, K127, K137 } \ -} - -#define LAYOUT_iso( \ - K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125, K135, K86, K87, \ - K47, K46, K04, K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, K96, K97, \ - K37, K36, K03, K13, K23, K33, K43, K53, K73, K83, K93, K103, K113, K123, K133, K107, \ - K27, K26, K02, K12, K22, K32, K42, K52, K72, K82, K92, K102, K112, K122, K132, K116, K117, \ - K17, K16, K01, K11, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, K131, K126, K127, \ - K07, K06, K00, K10, K20, K30, K40, K70, K100, K110, K120, K130, K136, K137 \ -){ \ - { K00, K10, K20, K30, K40, KC_NO, KC_NO, K70, KC_NO, KC_NO, K100, K110, K120, K130 }, \ - { K01, K11, K21, K31, K41, K51, K61, K71, K81, K91, K101, K111, KC_NO, K131 }, \ - { K02, K12, K22, K32, K42, K52, KC_NO, K72, K82, K92, K102, K112, K122, K132 }, \ - { K03, K13, K23, K33, K43, K53, KC_NO, K73, K83, K93, K103, K113, K123, K133 }, \ - { K04, K14, K24, K34, K44, K54, K64, K74, K84, K94, K104, K114, K124, }, \ - { K05, K15, K25, K35, K45, K55, K65, K75, K85, K95, K105, K115, K125, K135 }, \ - { K06, K16, K26, K36, K46, KC_NO, KC_NO, KC_NO, K86, K96, KC_NO, K116, K126, K136 }, \ - { K07, K17, K27, K37, K47, KC_NO, KC_NO, KC_NO, K87, K97, K107, K117, K127, K137 } \ -} |