diff options
| author | Ole Westendorff <owestend@gmail.com> | 2020-09-22 05:35:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 20:35:51 -0700 |
| commit | 967ed19d77ce6793dac6cd94e294fe9edff5a39b (patch) | |
| tree | a51b3e62b92841e4ca0778f2b73b50a55a61f53d /keyboards | |
| parent | 342ab6ab80ce4a3c1a12c1a8621afdacae82e674 (diff) | |
| download | qmk_firmware-967ed19d77ce6793dac6cd94e294fe9edff5a39b.tar.gz qmk_firmware-967ed19d77ce6793dac6cd94e294fe9edff5a39b.zip | |
[keyboard] xd60: add split layout for ansi and iso (#10337)
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/xd60/info.json | 153 | ||||
| -rw-r--r-- | keyboards/xd60/rev2/rules.mk | 4 | ||||
| -rw-r--r-- | keyboards/xd60/rev3/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/xd60/xd60.h | 28 |
4 files changed, 180 insertions, 7 deletions
diff --git a/keyboards/xd60/info.json b/keyboards/xd60/info.json index c69e8a788..dbe9a7988 100644 --- a/keyboards/xd60/info.json +++ b/keyboards/xd60/info.json | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "XD60", | 2 | "keyboard_name": "XD60", |
| 3 | "maintainer": "qmk", | 3 | "maintainer": "qmk", |
| 4 | "width": 15, | 4 | "width": 15, |
| 5 | "height": 5, | 5 | "height": 5, |
| 6 | "layouts": { | 6 | "layouts": { |
| 7 | "LAYOUT_all": { | 7 | "LAYOUT_all": { |
| 8 | "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}, {"x":13, "y":0}, {"x":14, "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":"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}, {"x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":2, "w":1.25}, {"label":"Shift", "x":0, "y":3}, {"x":1, "y":3}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"x":13, "y":3}, {"x":14, "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}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4}, {"label":"Win", "x":11, "y":4}, {"label":"Menu", "x":12, "y":4}, {"label":"Ctrl", "x":13, "y":4}, {"x":14, "y":4}] | 8 | "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}, {"x":13, "y":0}, {"x":14, "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":"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}, {"x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":2, "w":1.25}, {"label":"Shift", "x":0, "y":3}, {"x":1, "y":3}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"x":13, "y":3}, {"x":14, "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}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4}, {"label":"Win", "x":11, "y":4}, {"label":"Menu", "x":12, "y":4}, {"label":"Ctrl", "x":13, "y":4}, {"x":14, "y":4}] |
| @@ -12,8 +12,153 @@ | |||
| 12 | "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":"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":"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":"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":2.75}, {"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}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}] | 12 | "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":"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":"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":"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":2.75}, {"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}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}] |
| 13 | }, | 13 | }, |
| 14 | 14 | ||
| 15 | "LAYOUT_60_ansi_split_bs_rshift": { | ||
| 16 | "layout": [ | ||
| 17 | {"label":"~", "x":0, "y":0}, | ||
| 18 | {"label":"!", "x":1, "y":0}, | ||
| 19 | {"label":"@", "x":2, "y":0}, | ||
| 20 | {"label":"#", "x":3, "y":0}, | ||
| 21 | {"label":"$", "x":4, "y":0}, | ||
| 22 | {"label":"%", "x":5, "y":0}, | ||
| 23 | {"label":"^", "x":6, "y":0}, | ||
| 24 | {"label":"&", "x":7, "y":0}, | ||
| 25 | {"label":"*", "x":8, "y":0}, | ||
| 26 | {"label":"(", "x":9, "y":0}, | ||
| 27 | {"label":")", "x":10, "y":0}, | ||
| 28 | {"label":"_", "x":11, "y":0}, | ||
| 29 | {"label":"+", "x":12, "y":0}, | ||
| 30 | {"label":"BS", "x":13, "y":0, "w":1}, | ||
| 31 | {"label":"BS", "x":14, "y":0, "w":1}, | ||
| 32 | |||
| 33 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 34 | {"label":"Q", "x":1.5, "y":1}, | ||
| 35 | {"label":"W", "x":2.5, "y":1}, | ||
| 36 | {"label":"E", "x":3.5, "y":1}, | ||
| 37 | {"label":"R", "x":4.5, "y":1}, | ||
| 38 | {"label":"T", "x":5.5, "y":1}, | ||
| 39 | {"label":"Y", "x":6.5, "y":1}, | ||
| 40 | {"label":"U", "x":7.5, "y":1}, | ||
| 41 | {"label":"I", "x":8.5, "y":1}, | ||
| 42 | {"label":"O", "x":9.5, "y":1}, | ||
| 43 | {"label":"P", "x":10.5, "y":1}, | ||
| 44 | {"label":"{", "x":11.5, "y":1}, | ||
| 45 | {"label":"}", "x":12.5, "y":1}, | ||
| 46 | {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
| 47 | |||
| 48 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 49 | {"label":"A", "x":1.75, "y":2}, | ||
| 50 | {"label":"S", "x":2.75, "y":2}, | ||
| 51 | {"label":"D", "x":3.75, "y":2}, | ||
| 52 | {"label":"F", "x":4.75, "y":2}, | ||
| 53 | {"label":"G", "x":5.75, "y":2}, | ||
| 54 | {"label":"H", "x":6.75, "y":2}, | ||
| 55 | {"label":"J", "x":7.75, "y":2}, | ||
| 56 | {"label":"K", "x":8.75, "y":2}, | ||
| 57 | {"label":"L", "x":9.75, "y":2}, | ||
| 58 | {"label":":", "x":10.75, "y":2}, | ||
| 59 | {"label":"\"", "x":11.75, "y":2}, | ||
| 60 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
| 61 | |||
| 62 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
| 63 | {"label":"Z", "x":2.25, "y":3}, | ||
| 64 | {"label":"X", "x":3.25, "y":3}, | ||
| 65 | {"label":"C", "x":4.25, "y":3}, | ||
| 66 | {"label":"V", "x":5.25, "y":3}, | ||
| 67 | {"label":"B", "x":6.25, "y":3}, | ||
| 68 | {"label":"N", "x":7.25, "y":3}, | ||
| 69 | {"label":"M", "x":8.25, "y":3}, | ||
| 70 | {"label":"<", "x":9.25, "y":3}, | ||
| 71 | {"label":">", "x":10.25, "y":3}, | ||
| 72 | {"label":"?", "x":11.25, "y":3}, | ||
| 73 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 74 | {"label":"FN", "x":14, "y":3, "w":1}, | ||
| 75 | |||
| 76 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 77 | {"label":"Win", "x":1.25, "y":4, "w":1.25}, | ||
| 78 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 79 | {"x":3.75, "y":4, "w":6.25}, | ||
| 80 | {"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
| 81 | {"label":"Win", "x":11.25, "y":4, "w":1.25}, | ||
| 82 | {"label":"Menu", "x":12.5, "y":4, "w":1.25}, | ||
| 83 | {"label":"Ctrl", "x":13.75, "y":4, "w":1.25} | ||
| 84 | ] | ||
| 85 | }, | ||
| 86 | |||
| 15 | "LAYOUT_60_iso": { | 87 | "LAYOUT_60_iso": { |
| 16 | "layout": [{"label":"\u00ac", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"\u00a3", "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":"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":"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":"~", "x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, {"label":"Shift", "x":0, "y":3, "w":1.25}, {"label":"|", "x":1.25, "y":3}, {"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":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"GUI", "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":"AltGr", "x":10, "y":4, "w":1.25}, {"label":"GUI", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}] | 88 | "layout": [{"label":"\u00ac", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"\u00a3", "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":"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":"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":"~", "x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, {"label":"Shift", "x":0, "y":3, "w":1.25}, {"label":"|", "x":1.25, "y":3}, {"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":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"GUI", "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":"AltGr", "x":10, "y":4, "w":1.25}, {"label":"GUI", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}] |
| 89 | }, | ||
| 90 | |||
| 91 | "LAYOUT_60_iso_split_bs_rshift": { | ||
| 92 | "layout": [ | ||
| 93 | {"label":"\u00ac", "x":0, "y":0}, | ||
| 94 | {"label":"!", "x":1, "y":0}, | ||
| 95 | {"label":"\"", "x":2, "y":0}, | ||
| 96 | {"label":"\u00a3", "x":3, "y":0}, | ||
| 97 | {"label":"$", "x":4, "y":0}, | ||
| 98 | {"label":"%", "x":5, "y":0}, | ||
| 99 | {"label":"^", "x":6, "y":0}, | ||
| 100 | {"label":"&", "x":7, "y":0}, | ||
| 101 | {"label":"*", "x":8, "y":0}, | ||
| 102 | {"label":"(", "x":9, "y":0}, | ||
| 103 | {"label":")", "x":10, "y":0}, | ||
| 104 | {"label":"_", "x":11, "y":0}, | ||
| 105 | {"label":"+", "x":12, "y":0}, | ||
| 106 | {"label":"BS", "x":13, "y":0, "w":1}, | ||
| 107 | {"label":"BS", "x":14, "y":0, "w":1}, | ||
| 108 | |||
| 109 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 110 | {"label":"Q", "x":1.5, "y":1}, | ||
| 111 | {"label":"W", "x":2.5, "y":1}, | ||
| 112 | {"label":"E", "x":3.5, "y":1}, | ||
| 113 | {"label":"R", "x":4.5, "y":1}, | ||
| 114 | {"label":"T", "x":5.5, "y":1}, | ||
| 115 | {"label":"Y", "x":6.5, "y":1}, | ||
| 116 | {"label":"U", "x":7.5, "y":1}, | ||
| 117 | {"label":"I", "x":8.5, "y":1}, | ||
| 118 | {"label":"O", "x":9.5, "y":1}, | ||
| 119 | {"label":"P", "x":10.5, "y":1}, | ||
| 120 | {"label":"{", "x":11.5, "y":1}, | ||
| 121 | {"label":"}", "x":12.5, "y":1}, | ||
| 122 | |||
| 123 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 124 | {"label":"A", "x":1.75, "y":2}, | ||
| 125 | {"label":"S", "x":2.75, "y":2}, | ||
| 126 | {"label":"D", "x":3.75, "y":2}, | ||
| 127 | {"label":"F", "x":4.75, "y":2}, | ||
| 128 | {"label":"G", "x":5.75, "y":2}, | ||
| 129 | {"label":"H", "x":6.75, "y":2}, | ||
| 130 | {"label":"J", "x":7.75, "y":2}, | ||
| 131 | {"label":"K", "x":8.75, "y":2}, | ||
| 132 | {"label":"L", "x":9.75, "y":2}, | ||
| 133 | {"label":":", "x":10.75, "y":2}, | ||
| 134 | {"label":"@", "x":11.75, "y":2}, | ||
| 135 | {"label":"~", "x":12.75, "y":2}, | ||
| 136 | {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, | ||
| 137 | |||
| 138 | {"label":"Shift", "x":0, "y":3, "w":1.25}, | ||
| 139 | {"label":"|", "x":1.25, "y":3}, | ||
| 140 | {"label":"Z", "x":2.25, "y":3}, | ||
| 141 | {"label":"X", "x":3.25, "y":3}, | ||
| 142 | {"label":"C", "x":4.25, "y":3}, | ||
| 143 | {"label":"V", "x":5.25, "y":3}, | ||
| 144 | {"label":"B", "x":6.25, "y":3}, | ||
| 145 | {"label":"N", "x":7.25, "y":3}, | ||
| 146 | {"label":"M", "x":8.25, "y":3}, | ||
| 147 | {"label":"<", "x":9.25, "y":3}, | ||
| 148 | {"label":">", "x":10.25, "y":3}, | ||
| 149 | {"label":"?", "x":11.25, "y":3}, | ||
| 150 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 151 | {"label":"FN", "x":14, "y":3, "w":1}, | ||
| 152 | |||
| 153 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 154 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
| 155 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 156 | {"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
| 157 | {"label":"AltGr", "x":10, "y":4, "w":1.25}, | ||
| 158 | {"label":"GUI", "x":11.25, "y":4, "w":1.25}, | ||
| 159 | {"label":"Menu", "x":12.5, "y":4, "w":1.25}, | ||
| 160 | {"label":"Ctrl", "x":13.75, "y":4, "w":1.25} | ||
| 161 | ] | ||
| 17 | } | 162 | } |
| 18 | } | 163 | } |
| 19 | } | 164 | } |
diff --git a/keyboards/xd60/rev2/rules.mk b/keyboards/xd60/rev2/rules.mk index 1c96804e7..56a01b3c5 100644 --- a/keyboards/xd60/rev2/rules.mk +++ b/keyboards/xd60/rev2/rules.mk | |||
| @@ -23,7 +23,7 @@ MIDI_ENABLE = no # MIDI controls | |||
| 23 | AUDIO_ENABLE = no # Audio output on port C6 | 23 | AUDIO_ENABLE = no # Audio output on port C6 |
| 24 | UNICODE_ENABLE = no # Unicode | 24 | UNICODE_ENABLE = no # Unicode |
| 25 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 25 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 26 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 26 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 28 | 28 | ||
| 29 | LAYOUTS = 60_ansi 60_iso | 29 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_iso_split_bs_rshift |
diff --git a/keyboards/xd60/rev3/rules.mk b/keyboards/xd60/rev3/rules.mk index 3c7c96712..56a01b3c5 100644 --- a/keyboards/xd60/rev3/rules.mk +++ b/keyboards/xd60/rev3/rules.mk | |||
| @@ -26,4 +26,4 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 26 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 26 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 28 | 28 | ||
| 29 | LAYOUTS = 60_ansi 60_iso | 29 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_iso_split_bs_rshift |
diff --git a/keyboards/xd60/xd60.h b/keyboards/xd60/xd60.h index 3946138c3..dc6a1080f 100644 --- a/keyboards/xd60/xd60.h +++ b/keyboards/xd60/xd60.h | |||
| @@ -46,6 +46,20 @@ inline void xd60_bl_led_off(void) { DDRF &= ~(1<<5); PORTF &= ~(1<<5); } | |||
| 46 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \ | 46 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \ |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | #define LAYOUT_60_ansi_split_bs_rshift( \ | ||
| 50 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49, \ | ||
| 51 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ | ||
| 52 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \ | ||
| 53 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3C, \ | ||
| 54 | K40, K41, K42, K45, K4A, K4B, K4C, K4D \ | ||
| 55 | ) { \ | ||
| 56 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
| 57 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ | ||
| 58 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \ | ||
| 59 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
| 60 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \ | ||
| 61 | } | ||
| 62 | |||
| 49 | #define LAYOUT_60_iso( \ | 63 | #define LAYOUT_60_iso( \ |
| 50 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ | 64 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ |
| 51 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \ | 65 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \ |
| @@ -59,3 +73,17 @@ inline void xd60_bl_led_off(void) { DDRF &= ~(1<<5); PORTF &= ~(1<<5); } | |||
| 59 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D }, \ | 73 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D }, \ |
| 60 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \ | 74 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \ |
| 61 | } | 75 | } |
| 76 | |||
| 77 | #define LAYOUT_60_iso_split_bs_rshift( \ | ||
| 78 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49, \ | ||
| 79 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \ | ||
| 80 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ | ||
| 81 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3C, \ | ||
| 82 | K40, K41, K42, K45, K4A, K4B, K4C, K4D \ | ||
| 83 | ) { \ | ||
| 84 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
| 85 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO }, \ | ||
| 86 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ | ||
| 87 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
| 88 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \ | ||
| 89 | } | ||
