diff options
| author | Ryan <fauxpark@gmail.com> | 2021-01-01 05:04:00 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-01 05:04:00 +1100 |
| commit | 53e9213a2255cebf9ec2c3f8302241ede8d16f07 (patch) | |
| tree | bd635e8f6eefb4eb9e37adcabde40729edf9f134 | |
| parent | a68d289fa58210fc26c6eba9ff4832d39473c71d (diff) | |
| download | qmk_firmware-53e9213a2255cebf9ec2c3f8302241ede8d16f07.tar.gz qmk_firmware-53e9213a2255cebf9ec2c3f8302241ede8d16f07.zip | |
Quark refactor (#11377)
30 files changed, 1052 insertions, 700 deletions
diff --git a/keyboards/quark/config.h b/keyboards/quark/config.h index 084891b2c..1dede7ed6 100644 --- a/keyboards/quark/config.h +++ b/keyboards/quark/config.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | 1 | /* Copyright 2020 Nathan Spears |
| 2 | * Modified by Nasp for the Quark | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
| @@ -71,5 +71,3 @@ | |||
| 71 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 71 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 72 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 72 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 73 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 73 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
| 74 | |||
| 75 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/info.json b/keyboards/quark/info.json index 5c6857434..e85fbd4ad 100644 --- a/keyboards/quark/info.json +++ b/keyboards/quark/info.json | |||
| @@ -5,29 +5,322 @@ | |||
| 5 | "width": 12, | 5 | "width": 12, |
| 6 | "height": 5, | 6 | "height": 5, |
| 7 | "layouts": { | 7 | "layouts": { |
| 8 | "LAYOUT_5x12_2x225": { | 8 | "LAYOUT_ortho_5x12_2x225u": { |
| 9 | "layout": | 9 | "layout": [ |
| 10 | [{"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":"Tab", "x":0, "y":1}, {"label":"Q", "x":1, "y":1}, {"label":"W", "x":2, "y":1}, {"label":"E", "x":3, "y":1}, {"label":"R", "x":4, "y":1}, {"label":"T", "x":5, "y":1}, {"label":"Y", "x":6, "y":1}, {"label":"U", "x":7, "y":1}, {"label":"I", "x":8, "y":1}, {"label":"O", "x":9, "y":1}, {"label":"P", "x":10, "y":1}, {"label":"Back Space", "x":11, "y":1}, {"label":"Esc", "x":0, "y":2}, {"label":"A", "x":1, "y":2}, {"label":"S", "x":2, "y":2}, {"label":"D", "x":3, "y":2}, {"label":"F", "x":4, "y":2}, {"label":"G", "x":5, "y":2}, {"label":"H", "x":6, "y":2}, {"label":"J", "x":7, "y":2}, {"label":"K", "x":8, "y":2}, {"label":"L", "x":9, "y":2}, {"label":";", "x":10, "y":2}, {"label":"'", "x":11, "y":2}, {"label":"Shift", "x":0, "y":3}, {"label":"Z", "x":1, "y":3}, {"label":"X", "x":2, "y":3}, {"label":"C", "x":3, "y":3}, {"label":"V", "x":4, "y":3}, {"label":"B", "x":5, "y":3}, {"label":"N", "x":6, "y":3}, {"label":"M", "x":7, "y":3}, {"label":",", "x":8, "y":3}, {"label":".", "x":9, "y":3}, {"label":"/", "x":10, "y":3}, {"label":"Return", "x":11, "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":2.25}, {"x":6, "y":4, "w":2.25}, {"label":"ALT", "x":8.25, "y":4, "w":1.25}, {"label":"MENU", "x":9.5, "y":4, "w":1.25}, {"label":"CTRL", "x":10.75, "y":4, "w":1.25}] | 10 | {"x": 0, "y": 0}, |
| 11 | }, | 11 | {"x": 1, "y": 0}, |
| 12 | "LAYOUT_5x12_2x3": { | 12 | {"x": 2, "y": 0}, |
| 13 | "layout": | 13 | {"x": 3, "y": 0}, |
| 14 | [{"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":"Tab", "x":0, "y":1}, {"label":"Q", "x":1, "y":1}, {"label":"W", "x":2, "y":1}, {"label":"E", "x":3, "y":1}, {"label":"R", "x":4, "y":1}, {"label":"T", "x":5, "y":1}, {"label":"Y", "x":6, "y":1}, {"label":"U", "x":7, "y":1}, {"label":"I", "x":8, "y":1}, {"label":"O", "x":9, "y":1}, {"label":"P", "x":10, "y":1}, {"label":"Back Space", "x":11, "y":1}, {"label":"Esc", "x":0, "y":2}, {"label":"A", "x":1, "y":2}, {"label":"S", "x":2, "y":2}, {"label":"D", "x":3, "y":2}, {"label":"F", "x":4, "y":2}, {"label":"G", "x":5, "y":2}, {"label":"H", "x":6, "y":2}, {"label":"J", "x":7, "y":2}, {"label":"K", "x":8, "y":2}, {"label":"L", "x":9, "y":2}, {"label":";", "x":10, "y":2}, {"label":"'", "x":11, "y":2}, {"label":"Shift", "x":0, "y":3}, {"label":"Z", "x":1, "y":3}, {"label":"X", "x":2, "y":3}, {"label":"C", "x":3, "y":3}, {"label":"V", "x":4, "y":3}, {"label":"B", "x":5, "y":3}, {"label":"N", "x":6, "y":3}, {"label":"M", "x":7, "y":3}, {"label":",", "x":8, "y":3}, {"label":".", "x":9, "y":3}, {"label":"/", "x":10, "y":3}, {"label":"Return", "x":11, "y":3}, {"label":"CTRL", "x":0, "y":4, "w":1.5}, {"label":"ALT", "x":1.5, "y":4, "w":1.5}, {"x":3, "y":4, "w":3}, {"x":6, "y":4, "w":3}, {"label":"ALT", "x":9, "y":4, "w":1.5}, {"label":"MENU", "x":10.5, "y":4, "w":1.5}] | 14 | {"x": 4, "y": 0}, |
| 15 | }, | 15 | {"x": 5, "y": 0}, |
| 16 | "LAYOUT_4x12_Grid": { | 16 | {"x": 6, "y": 0}, |
| 17 | "layout": | 17 | {"x": 7, "y": 0}, |
| 18 | [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"CTRL", "x":0, "y":3}, {"label":"WIN", "x":1, "y":3}, {"label":"MENU", "x":2, "y":3}, {"label":"ALT", "x":3, "y":3}, {"label":"⇓", "x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"label":"⇑", "x":7, "y":3}, {"label":"LEFT", "x":8, "y":3}, {"label":"DOWN", "x":9, "y":3}, {"label":"UP", "x":10, "y":3}, {"label":"RIGHT", "x":11, "y":3}] | 18 | {"x": 8, "y": 0}, |
| 19 | }, | 19 | {"x": 9, "y": 0}, |
| 20 | "LAYOUT_4x12_MIT": { | 20 | {"x": 10, "y": 0}, |
| 21 | "layout": | 21 | {"x": 11, "y": 0}, |
| 22 | [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"CTRL", "x":0, "y":3}, {"label":"WIN", "x":1, "y":3}, {"label":"MENU", "x":2, "y":3}, {"label":"ALT", "x":3, "y":3}, {"label":"⇓", "x":4, "y":3}, {"x":5, "y":3, "w":2}, {"label":"⇑", "x":7, "y":3}, {"label":"LEFT", "x":8, "y":3}, {"label":"DOWN", "x":9, "y":3}, {"label":"UP", "x":10, "y":3}, {"label":"RIGHT", "x":11, "y":3}] | 22 | {"x": 0, "y": 1}, |
| 23 | }, | 23 | {"x": 1, "y": 1}, |
| 24 | "LAYOUT_4x12_2x225": { | 24 | {"x": 2, "y": 1}, |
| 25 | "layout": | 25 | {"x": 3, "y": 1}, |
| 26 | [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"CTRL", "x":0, "y":3, "w":1.25}, {"label":"WIN", "x":1.25, "y":3, "w":1.25}, {"label":"ALT", "x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":2.25}, {"x":6, "y":3, "w":2.25}, {"label":"ALT", "x":8.25, "y":3, "w":1.25}, {"label":"MENU", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3, "w":1.25}] | 26 | {"x": 4, "y": 1}, |
| 27 | }, | 27 | {"x": 5, "y": 1}, |
| 28 | "LAYOUT_4x12_2x3": { | 28 | {"x": 6, "y": 1}, |
| 29 | "layout": | 29 | {"x": 7, "y": 1}, |
| 30 | [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"CTRL", "x":0, "y":3}, {"label":"WIN", "x":1, "y":3}, {"label":"ALT", "x":2, "y":3}, {"x":3, "y":3, "w":3}, {"x":6, "y":3, "w":3}, {"label":"ALT", "x":9, "y":3}, {"label":"MENU", "x":10, "y":3}, {"label":"CTRL", "x":11, "y":3}] | 30 | {"x": 8, "y": 1}, |
| 31 | } | 31 | {"x": 9, "y": 1}, |
| 32 | } | 32 | {"x": 10, "y": 1}, |
| 33 | {"x": 11, "y": 1}, | ||
| 34 | {"x": 0, "y": 2}, | ||
| 35 | {"x": 1, "y": 2}, | ||
| 36 | {"x": 2, "y": 2}, | ||
| 37 | {"x": 3, "y": 2}, | ||
| 38 | {"x": 4, "y": 2}, | ||
| 39 | {"x": 5, "y": 2}, | ||
| 40 | {"x": 6, "y": 2}, | ||
| 41 | {"x": 7, "y": 2}, | ||
| 42 | {"x": 8, "y": 2}, | ||
| 43 | {"x": 9, "y": 2}, | ||
| 44 | {"x": 10, "y": 2}, | ||
| 45 | {"x": 11, "y": 2}, | ||
| 46 | {"x": 0, "y": 3}, | ||
| 47 | {"x": 1, "y": 3}, | ||
| 48 | {"x": 2, "y": 3}, | ||
| 49 | {"x": 3, "y": 3}, | ||
| 50 | {"x": 4, "y": 3}, | ||
| 51 | {"x": 5, "y": 3}, | ||
| 52 | {"x": 6, "y": 3}, | ||
| 53 | {"x": 7, "y": 3}, | ||
| 54 | {"x": 8, "y": 3}, | ||
| 55 | {"x": 9, "y": 3}, | ||
| 56 | {"x": 10, "y": 3}, | ||
| 57 | {"x": 11, "y": 3}, | ||
| 58 | {"x": 0, "y": 4, "w": 1.25}, | ||
| 59 | {"x": 1.25, "y": 4, "w": 1.25}, | ||
| 60 | {"x": 2.5, "y": 4, "w": 1.25}, | ||
| 61 | {"x": 3.75, "y": 4, "w": 2.25}, | ||
| 62 | {"x": 6, "y": 4, "w": 2.25}, | ||
| 63 | {"x": 8.25, "y": 4, "w": 1.25}, | ||
| 64 | {"x": 9.5, "y": 4, "w": 1.25}, | ||
| 65 | {"x": 10.75, "y": 4, "w": 1.25} | ||
| 66 | ] | ||
| 67 | }, | ||
| 68 | "LAYOUT_ortho_5x12_2x3u": { | ||
| 69 | "layout": [ | ||
| 70 | {"x": 0, "y": 0}, | ||
| 71 | {"x": 1, "y": 0}, | ||
| 72 | {"x": 2, "y": 0}, | ||
| 73 | {"x": 3, "y": 0}, | ||
| 74 | {"x": 4, "y": 0}, | ||
| 75 | {"x": 5, "y": 0}, | ||
| 76 | {"x": 6, "y": 0}, | ||
| 77 | {"x": 7, "y": 0}, | ||
| 78 | {"x": 8, "y": 0}, | ||
| 79 | {"x": 9, "y": 0}, | ||
| 80 | {"x": 10, "y": 0}, | ||
| 81 | {"x": 11, "y": 0}, | ||
| 82 | {"x": 0, "y": 1}, | ||
| 83 | {"x": 1, "y": 1}, | ||
| 84 | {"x": 2, "y": 1}, | ||
| 85 | {"x": 3, "y": 1}, | ||
| 86 | {"x": 4, "y": 1}, | ||
| 87 | {"x": 5, "y": 1}, | ||
| 88 | {"x": 6, "y": 1}, | ||
| 89 | {"x": 7, "y": 1}, | ||
| 90 | {"x": 8, "y": 1}, | ||
| 91 | {"x": 9, "y": 1}, | ||
| 92 | {"x": 10, "y": 1}, | ||
| 93 | {"x": 11, "y": 1}, | ||
| 94 | {"x": 0, "y": 2}, | ||
| 95 | {"x": 1, "y": 2}, | ||
| 96 | {"x": 2, "y": 2}, | ||
| 97 | {"x": 3, "y": 2}, | ||
| 98 | {"x": 4, "y": 2}, | ||
| 99 | {"x": 5, "y": 2}, | ||
| 100 | {"x": 6, "y": 2}, | ||
| 101 | {"x": 7, "y": 2}, | ||
| 102 | {"x": 8, "y": 2}, | ||
| 103 | {"x": 9, "y": 2}, | ||
| 104 | {"x": 10, "y": 2}, | ||
| 105 | {"x": 11, "y": 2}, | ||
| 106 | {"x": 0, "y": 3}, | ||
| 107 | {"x": 1, "y": 3}, | ||
| 108 | {"x": 2, "y": 3}, | ||
| 109 | {"x": 3, "y": 3}, | ||
| 110 | {"x": 4, "y": 3}, | ||
| 111 | {"x": 5, "y": 3}, | ||
| 112 | {"x": 6, "y": 3}, | ||
| 113 | {"x": 7, "y": 3}, | ||
| 114 | {"x": 8, "y": 3}, | ||
| 115 | {"x": 9, "y": 3}, | ||
| 116 | {"x": 10, "y": 3}, | ||
| 117 | {"x": 11, "y": 3}, | ||
| 118 | {"x": 0, "y": 4, "w": 1.5}, | ||
| 119 | {"x": 1.5, "y": 4, "w": 1.5}, | ||
| 120 | {"x": 3, "y": 4, "w": 3}, | ||
| 121 | {"x": 6, "y": 4, "w": 3}, | ||
| 122 | {"x": 9, "y": 4, "w": 1.5}, | ||
| 123 | {"x": 10.5, "y": 4, "w": 1.5} | ||
| 124 | ] | ||
| 125 | }, | ||
| 126 | "LAYOUT_ortho_4x12": { | ||
| 127 | "layout": [ | ||
| 128 | {"x": 0, "y": 0}, | ||
| 129 | {"x": 1, "y": 0}, | ||
| 130 | {"x": 2, "y": 0}, | ||
| 131 | {"x": 3, "y": 0}, | ||
| 132 | {"x": 4, "y": 0}, | ||
| 133 | {"x": 5, "y": 0}, | ||
| 134 | {"x": 6, "y": 0}, | ||
| 135 | {"x": 7, "y": 0}, | ||
| 136 | {"x": 8, "y": 0}, | ||
| 137 | {"x": 9, "y": 0}, | ||
| 138 | {"x": 10, "y": 0}, | ||
| 139 | {"x": 11, "y": 0}, | ||
| 140 | {"x": 0, "y": 1}, | ||
| 141 | {"x": 1, "y": 1}, | ||
| 142 | {"x": 2, "y": 1}, | ||
| 143 | {"x": 3, "y": 1}, | ||
| 144 | {"x": 4, "y": 1}, | ||
| 145 | {"x": 5, "y": 1}, | ||
| 146 | {"x": 6, "y": 1}, | ||
| 147 | {"x": 7, "y": 1}, | ||
| 148 | {"x": 8, "y": 1}, | ||
| 149 | {"x": 9, "y": 1}, | ||
| 150 | {"x": 10, "y": 1}, | ||
| 151 | {"x": 11, "y": 1}, | ||
| 152 | {"x": 0, "y": 2}, | ||
| 153 | {"x": 1, "y": 2}, | ||
| 154 | {"x": 2, "y": 2}, | ||
| 155 | {"x": 3, "y": 2}, | ||
| 156 | {"x": 4, "y": 2}, | ||
| 157 | {"x": 5, "y": 2}, | ||
| 158 | {"x": 6, "y": 2}, | ||
| 159 | {"x": 7, "y": 2}, | ||
| 160 | {"x": 8, "y": 2}, | ||
| 161 | {"x": 9, "y": 2}, | ||
| 162 | {"x": 10, "y": 2}, | ||
| 163 | {"x": 11, "y": 2}, | ||
| 164 | {"x": 0, "y": 3}, | ||
| 165 | {"x": 1, "y": 3}, | ||
| 166 | {"x": 2, "y": 3}, | ||
| 167 | {"x": 3, "y": 3}, | ||
| 168 | {"x": 4, "y": 3}, | ||
| 169 | {"x": 5, "y": 3}, | ||
| 170 | {"x": 6, "y": 3}, | ||
| 171 | {"x": 7, "y": 3}, | ||
| 172 | {"x": 8, "y": 3}, | ||
| 173 | {"x": 9, "y": 3}, | ||
| 174 | {"x": 10, "y": 3}, | ||
| 175 | {"x": 11, "y": 3} | ||
| 176 | ] | ||
| 177 | }, | ||
| 178 | "LAYOUT_planck_mit": { | ||
| 179 | "layout": [ | ||
| 180 | {"x": 0, "y": 0}, | ||
| 181 | {"x": 1, "y": 0}, | ||
| 182 | {"x": 2, "y": 0}, | ||
| 183 | {"x": 3, "y": 0}, | ||
| 184 | {"x": 4, "y": 0}, | ||
| 185 | {"x": 5, "y": 0}, | ||
| 186 | {"x": 6, "y": 0}, | ||
| 187 | {"x": 7, "y": 0}, | ||
| 188 | {"x": 8, "y": 0}, | ||
| 189 | {"x": 9, "y": 0}, | ||
| 190 | {"x": 10, "y": 0}, | ||
| 191 | {"x": 11, "y": 0}, | ||
| 192 | {"x": 0, "y": 1}, | ||
| 193 | {"x": 1, "y": 1}, | ||
| 194 | {"x": 2, "y": 1}, | ||
| 195 | {"x": 3, "y": 1}, | ||
| 196 | {"x": 4, "y": 1}, | ||
| 197 | {"x": 5, "y": 1}, | ||
| 198 | {"x": 6, "y": 1}, | ||
| 199 | {"x": 7, "y": 1}, | ||
| 200 | {"x": 8, "y": 1}, | ||
| 201 | {"x": 9, "y": 1}, | ||
| 202 | {"x": 10, "y": 1}, | ||
| 203 | {"x": 11, "y": 1}, | ||
| 204 | {"x": 0, "y": 2}, | ||
| 205 | {"x": 1, "y": 2}, | ||
| 206 | {"x": 2, "y": 2}, | ||
| 207 | {"x": 3, "y": 2}, | ||
| 208 | {"x": 4, "y": 2}, | ||
| 209 | {"x": 5, "y": 2}, | ||
| 210 | {"x": 6, "y": 2}, | ||
| 211 | {"x": 7, "y": 2}, | ||
| 212 | {"x": 8, "y": 2}, | ||
| 213 | {"x": 9, "y": 2}, | ||
| 214 | {"x": 10, "y": 2}, | ||
| 215 | {"x": 11, "y": 2}, | ||
| 216 | {"x": 0, "y": 3}, | ||
| 217 | {"x": 1, "y": 3}, | ||
| 218 | {"x": 2, "y": 3}, | ||
| 219 | {"x": 3, "y": 3}, | ||
| 220 | {"x": 4, "y": 3}, | ||
| 221 | {"x": 5, "y": 3, "w": 2}, | ||
| 222 | {"x": 7, "y": 3}, | ||
| 223 | {"x": 8, "y": 3}, | ||
| 224 | {"x": 9, "y": 3}, | ||
| 225 | {"x": 10, "y": 3}, | ||
| 226 | {"x": 11, "y": 3} | ||
| 227 | ] | ||
| 228 | }, | ||
| 229 | "LAYOUT_ortho_4x12_2x225u": { | ||
| 230 | "layout": [ | ||
| 231 | {"x": 0, "y": 0}, | ||
| 232 | {"x": 1, "y": 0}, | ||
| 233 | {"x": 2, "y": 0}, | ||
| 234 | {"x": 3, "y": 0}, | ||
| 235 | {"x": 4, "y": 0}, | ||
| 236 | {"x": 5, "y": 0}, | ||
| 237 | {"x": 6, "y": 0}, | ||
| 238 | {"x": 7, "y": 0}, | ||
| 239 | {"x": 8, "y": 0}, | ||
| 240 | {"x": 9, "y": 0}, | ||
| 241 | {"x": 10, "y": 0}, | ||
| 242 | {"x": 11, "y": 0}, | ||
| 243 | {"x": 0, "y": 1}, | ||
| 244 | {"x": 1, "y": 1}, | ||
| 245 | {"x": 2, "y": 1}, | ||
| 246 | {"x": 3, "y": 1}, | ||
| 247 | {"x": 4, "y": 1}, | ||
| 248 | {"x": 5, "y": 1}, | ||
| 249 | {"x": 6, "y": 1}, | ||
| 250 | {"x": 7, "y": 1}, | ||
| 251 | {"x": 8, "y": 1}, | ||
| 252 | {"x": 9, "y": 1}, | ||
| 253 | {"x": 10, "y": 1}, | ||
| 254 | {"x": 11, "y": 1}, | ||
| 255 | {"x": 0, "y": 2}, | ||
| 256 | {"x": 1, "y": 2}, | ||
| 257 | {"x": 2, "y": 2}, | ||
| 258 | {"x": 3, "y": 2}, | ||
| 259 | {"x": 4, "y": 2}, | ||
| 260 | {"x": 5, "y": 2}, | ||
| 261 | {"x": 6, "y": 2}, | ||
| 262 | {"x": 7, "y": 2}, | ||
| 263 | {"x": 8, "y": 2}, | ||
| 264 | {"x": 9, "y": 2}, | ||
| 265 | {"x": 10, "y": 2}, | ||
| 266 | {"x": 11, "y": 2}, | ||
| 267 | {"x": 0, "y": 3, "w": 1.25}, | ||
| 268 | {"x": 1.25, "y": 3, "w": 1.25}, | ||
| 269 | {"x": 2.5, "y": 3, "w": 1.25}, | ||
| 270 | {"x": 3.75, "y": 3, "w": 2.25}, | ||
| 271 | {"x": 6, "y": 3, "w": 2.25}, | ||
| 272 | {"x": 8.25, "y": 3, "w": 1.25}, | ||
| 273 | {"x": 9.5, "y": 3, "w": 1.25}, | ||
| 274 | {"x": 10.75, "y": 3, "w": 1.25} | ||
| 275 | ] | ||
| 276 | }, | ||
| 277 | "LAYOUT_ortho_4x12_2x3u": { | ||
| 278 | "layout": [ | ||
| 279 | {"x": 0, "y": 0}, | ||
| 280 | {"x": 1, "y": 0}, | ||
| 281 | {"x": 2, "y": 0}, | ||
| 282 | {"x": 3, "y": 0}, | ||
| 283 | {"x": 4, "y": 0}, | ||
| 284 | {"x": 5, "y": 0}, | ||
| 285 | {"x": 6, "y": 0}, | ||
| 286 | {"x": 7, "y": 0}, | ||
| 287 | {"x": 8, "y": 0}, | ||
| 288 | {"x": 9, "y": 0}, | ||
| 289 | {"x": 10, "y": 0}, | ||
| 290 | {"x": 11, "y": 0}, | ||
| 291 | {"x": 0, "y": 1}, | ||
| 292 | {"x": 1, "y": 1}, | ||
| 293 | {"x": 2, "y": 1}, | ||
| 294 | {"x": 3, "y": 1}, | ||
| 295 | {"x": 4, "y": 1}, | ||
| 296 | {"x": 5, "y": 1}, | ||
| 297 | {"x": 6, "y": 1}, | ||
| 298 | {"x": 7, "y": 1}, | ||
| 299 | {"x": 8, "y": 1}, | ||
| 300 | {"x": 9, "y": 1}, | ||
| 301 | {"x": 10, "y": 1}, | ||
| 302 | {"x": 11, "y": 1}, | ||
| 303 | {"x": 0, "y": 2}, | ||
| 304 | {"x": 1, "y": 2}, | ||
| 305 | {"x": 2, "y": 2}, | ||
| 306 | {"x": 3, "y": 2}, | ||
| 307 | {"x": 4, "y": 2}, | ||
| 308 | {"x": 5, "y": 2}, | ||
| 309 | {"x": 6, "y": 2}, | ||
| 310 | {"x": 7, "y": 2}, | ||
| 311 | {"x": 8, "y": 2}, | ||
| 312 | {"x": 9, "y": 2}, | ||
| 313 | {"x": 10, "y": 2}, | ||
| 314 | {"x": 11, "y": 2}, | ||
| 315 | {"x": 0, "y": 3}, | ||
| 316 | {"x": 1, "y": 3}, | ||
| 317 | {"x": 2, "y": 3}, | ||
| 318 | {"x": 3, "y": 3, "w": 3}, | ||
| 319 | {"x": 6, "y": 3, "w": 3}, | ||
| 320 | {"x": 9, "y": 3}, | ||
| 321 | {"x": 10, "y": 3}, | ||
| 322 | {"x": 11, "y": 3} | ||
| 323 | ] | ||
| 324 | } | ||
| 325 | } | ||
| 33 | } | 326 | } |
diff --git a/keyboards/quark/keymaps/default/config.h b/keyboards/quark/keymaps/default/config.h index 311c729c5..c6f30237d 100644 --- a/keyboards/quark/keymaps/default/config.h +++ b/keyboards/quark/keymaps/default/config.h | |||
| @@ -1,2 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 1 | 18 | ||
| 2 | #define TAPPING_TOGGLE 2 | 19 | #define TAPPING_TOGGLE 2 |
diff --git a/keyboards/quark/keymaps/default/keymap.c b/keyboards/quark/keymaps/default/keymap.c index 87e03fa18..3953b6a68 100644 --- a/keyboards/quark/keymaps/default/keymap.c +++ b/keyboards/quark/keymaps/default/keymap.c | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | 1 | /* Copyright 2020 Nathan Spears |
| 2 | * | ||
| 2 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 3 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| 4 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
| @@ -19,70 +20,67 @@ | |||
| 19 | #define CALTDEL LCTL(LALT(KC_DEL)) | 20 | #define CALTDEL LCTL(LALT(KC_DEL)) |
| 20 | #define TSKMGR LCTL(LSFT(KC_ESC)) | 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) |
| 21 | 22 | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 27 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 28 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 29 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 30 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 31 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 32 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 33 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 34 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 35 | * `-----------------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [0] = LAYOUT_ortho_5x12_2x225u( | ||
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 43 | ), | ||
| 24 | 44 | ||
| 25 | /* [0] | 45 | /* [1] |
| 26 | * ,-----------------------------------------------------------------------------------------. | 46 | * ,---------------------------------------------------------------------------------------. |
| 27 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | 47 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | |
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | 48 | * |------------+------+------+------+------+------+------+------+------+------+------+----| |
| 29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | 49 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | |
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | 50 | * |------------+------+------+------+------+-------------+------+------+------+------+----| |
| 31 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | 51 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | |
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | 52 | * |------------+------+------+------+------+------|------+------+------+------+------+----| |
| 33 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | 53 | * | | | | | | | | + | = | | | | |
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | 54 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| |
| 35 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | 55 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | |
| 36 | * `-----------------------------------------------------------------------------------------' | 56 | * `---------------------------------------------------------------------------------------' |
| 37 | */ | 57 | */ |
| 38 | [0] = LAYOUT_5x12_2x225( \ | 58 | [1] = LAYOUT_ortho_5x12_2x225u( |
| 39 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | 59 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, |
| 40 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | 60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, |
| 41 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | 61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, |
| 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 62 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, |
| 43 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | 63 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ |
| 44 | ), | 64 | ), |
| 45 | |||
| 46 | /* [1] | ||
| 47 | * ,---------------------------------------------------------------------------------------. | ||
| 48 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 49 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 50 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 51 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 52 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 53 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 54 | * | | | | | | | | + | = | | | | | ||
| 55 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 56 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 57 | * `---------------------------------------------------------------------------------------' | ||
| 58 | */ | ||
| 59 | [1] = LAYOUT_5x12_2x225( \ | ||
| 60 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 61 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 62 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 64 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 65 | ), | ||
| 66 | |||
| 67 | /* [2] | ||
| 68 | * ,---------------------------------------------------------------------------------------. | ||
| 69 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 70 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 71 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 72 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 73 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 74 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 75 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 76 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 77 | * | RESET | | | | | | | | | ||
| 78 | * `---------------------------------------------------------------------------------------' | ||
| 79 | */ | ||
| 80 | [2] = LAYOUT_5x12_2x225( \ | ||
| 81 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 82 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 83 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 84 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 85 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 86 | ), | ||
| 87 | 65 | ||
| 66 | /* [2] | ||
| 67 | * ,---------------------------------------------------------------------------------------. | ||
| 68 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 69 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 70 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 71 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 72 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 74 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 75 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 76 | * | RESET | | | | | | | | | ||
| 77 | * `---------------------------------------------------------------------------------------' | ||
| 78 | */ | ||
| 79 | [2] = LAYOUT_ortho_5x12_2x225u( | ||
| 80 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 84 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 85 | ) | ||
| 88 | }; | 86 | }; |
diff --git a/keyboards/quark/keymaps/default/readme.md b/keyboards/quark/keymaps/default/readme.md index 1e0d8e25c..9a85e831e 100644 --- a/keyboards/quark/keymaps/default/readme.md +++ b/keyboards/quark/keymaps/default/readme.md | |||
| @@ -1,2 +1 @@ | |||
| 1 | # The Default Quark Layout | # The Default Quark Layout | |
| 2 | |||
diff --git a/keyboards/quark/keymaps/default_4x12/config.h b/keyboards/quark/keymaps/default_4x12/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12/keymap.c b/keyboards/quark/keymaps/default_4x12/keymap.c new file mode 100644 index 000000000..aefb2f2a3 --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | DEL | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTRL&ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | SHIFT | Z | X | C | V | B | N | M | , | . | / | ENTER | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | Ctrl | ALT | GUI |LOWER |SPACE |SPACE|RAISE | LEFT | DOWN | UP |RIGHT | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_4x12( | ||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 40 | KC_PSCR, KC_LCTL, KC_LALT, KC_LGUI, TT(1), KC_SPC, KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | | | ESC |CTRL-ALT-DEL|TASK| | | | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_ortho_4x12( | ||
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 59 | _______, KC_ESC, CALTDEL, TSKMGR, _______, _______, _______, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * |RESET | | | | | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_ortho_4x12( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x225/config.h b/keyboards/quark/keymaps/default_4x12_2x225/config.h deleted file mode 100644 index 311c729c5..000000000 --- a/keyboards/quark/keymaps/default_4x12_2x225/config.h +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | |||
| 2 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x225/keymap.c b/keyboards/quark/keymaps/default_4x12_2x225/keymap.c deleted file mode 100644 index d94d62026..000000000 --- a/keyboards/quark/keymaps/default_4x12_2x225/keymap.c +++ /dev/null | |||
| @@ -1,83 +0,0 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * Modified by Nasp for the Quark | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* [0] | ||
| 27 | * ,-----------------------------------------------------------------------------------------. | ||
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 31 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 33 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 35 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 36 | * `-----------------------------------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [0] = LAYOUT_4x12_2x225( \ | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 48 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 49 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 50 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 51 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 52 | * | | | | | | | | + | = | | | | | ||
| 53 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 54 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 55 | * `---------------------------------------------------------------------------------------' | ||
| 56 | */ | ||
| 57 | [1] = LAYOUT_4x12_2x225( \ | ||
| 58 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 59 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 61 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 62 | ), | ||
| 63 | |||
| 64 | /* [2] | ||
| 65 | * ,---------------------------------------------------------------------------------------. | ||
| 66 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 67 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 69 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 70 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 71 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 72 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 73 | * | RESET | | | | | | | | | ||
| 74 | * `---------------------------------------------------------------------------------------' | ||
| 75 | */ | ||
| 76 | [2] = LAYOUT_4x12_2x225( \ | ||
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 80 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x225u/config.h b/keyboards/quark/keymaps/default_4x12_2x225u/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12_2x225u/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x225u/keymap.c b/keyboards/quark/keymaps/default_4x12_2x225u/keymap.c new file mode 100644 index 000000000..f2f187bf4 --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12_2x225u/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_4x12_2x225u( | ||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 40 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_ortho_4x12_2x225u( | ||
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 59 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * | RESET | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_ortho_4x12_2x225u( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x3/config.h b/keyboards/quark/keymaps/default_4x12_2x3/config.h deleted file mode 100644 index 311c729c5..000000000 --- a/keyboards/quark/keymaps/default_4x12_2x3/config.h +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | |||
| 2 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x3/keymap.c b/keyboards/quark/keymaps/default_4x12_2x3/keymap.c deleted file mode 100644 index 938fb6824..000000000 --- a/keyboards/quark/keymaps/default_4x12_2x3/keymap.c +++ /dev/null | |||
| @@ -1,83 +0,0 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * Modified by Nasp for the Quark | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* [0] | ||
| 27 | * ,-----------------------------------------------------------------------------------------. | ||
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 31 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 33 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 35 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 36 | * `-----------------------------------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [0] = LAYOUT_4x12_2x3( \ | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 48 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 49 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 50 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 51 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 52 | * | | | | | | | | + | = | | | | | ||
| 53 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 54 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 55 | * `---------------------------------------------------------------------------------------' | ||
| 56 | */ | ||
| 57 | [1] = LAYOUT_4x12_2x3( \ | ||
| 58 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 59 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 61 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 62 | ), | ||
| 63 | |||
| 64 | /* [2] | ||
| 65 | * ,---------------------------------------------------------------------------------------. | ||
| 66 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 67 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 69 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 70 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 71 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 72 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 73 | * | RESET | | | | | | | | | ||
| 74 | * `---------------------------------------------------------------------------------------' | ||
| 75 | */ | ||
| 76 | [2] = LAYOUT_4x12_2x3( \ | ||
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 80 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x3u/config.h b/keyboards/quark/keymaps/default_4x12_2x3u/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12_2x3u/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_2x3u/keymap.c b/keyboards/quark/keymaps/default_4x12_2x3u/keymap.c new file mode 100644 index 000000000..128c3e1a0 --- /dev/null +++ b/keyboards/quark/keymaps/default_4x12_2x3u/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_4x12_2x3u( | ||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 40 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_ortho_4x12_2x3u( | ||
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 59 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * | RESET | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_ortho_4x12_2x3u( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_grid/config.h b/keyboards/quark/keymaps/default_4x12_grid/config.h deleted file mode 100644 index 311c729c5..000000000 --- a/keyboards/quark/keymaps/default_4x12_grid/config.h +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | |||
| 2 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_grid/keymap.c b/keyboards/quark/keymaps/default_4x12_grid/keymap.c deleted file mode 100644 index 3eb0e8f86..000000000 --- a/keyboards/quark/keymaps/default_4x12_grid/keymap.c +++ /dev/null | |||
| @@ -1,83 +0,0 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * Modified by Nasp for the Quark | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* [0] | ||
| 27 | * ,-----------------------------------------------------------------------------------------. | ||
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | DEL | | ||
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 31 | * | CTRL&ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 33 | * | SHIFT | Z | X | C | V | B | N | M | , | . | / | ENTER | | ||
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 35 | * | PRINT | Ctrl | ALT | GUI |LOWER |SPACE |SPACE|RAISE | LEFT | DOWN | UP |RIGHT | | ||
| 36 | * `-----------------------------------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [0] = LAYOUT_ortho_4x12( \ | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LCTL, KC_LALT, KC_LGUI, TT(1), KC_SPC, KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 48 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 49 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 50 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 51 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 52 | * | | | | | | | | + | = | | | | | ||
| 53 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 54 | * | | | ESC |CTRL-ALT-DEL|TASK| | | | | | '|' | ` | | | ||
| 55 | * `---------------------------------------------------------------------------------------' | ||
| 56 | */ | ||
| 57 | [1] = LAYOUT_ortho_4x12( \ | ||
| 58 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 59 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 61 | _______, KC_ESC, CALTDEL, TSKMGR, _______, _______, _______, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 62 | ), | ||
| 63 | |||
| 64 | /* [2] | ||
| 65 | * ,---------------------------------------------------------------------------------------. | ||
| 66 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 67 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 69 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 70 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 71 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 72 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 73 | * |RESET | | | | | | | | | | | | | ||
| 74 | * `---------------------------------------------------------------------------------------' | ||
| 75 | */ | ||
| 76 | [2] = LAYOUT_ortho_4x12( \ | ||
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 80 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
diff --git a/keyboards/quark/keymaps/default_4x12_mit/config.h b/keyboards/quark/keymaps/default_4x12_mit/config.h deleted file mode 100644 index 2e3dbdb68..000000000 --- a/keyboards/quark/keymaps/default_4x12_mit/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2020 Nathan_Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_4x12_mit/keymap.c b/keyboards/quark/keymaps/default_4x12_mit/keymap.c deleted file mode 100644 index db2042e63..000000000 --- a/keyboards/quark/keymaps/default_4x12_mit/keymap.c +++ /dev/null | |||
| @@ -1,83 +0,0 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * Modified by Nasp for the Quark | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* [0] | ||
| 27 | * ,-----------------------------------------------------------------------------------------. | ||
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | DEL | | ||
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 31 | * | CTRL&ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 33 | * | SHIFT | Z | X | C | V | B | N | M | , | . | / | ENTER | | ||
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 35 | * | PRINT | Ctrl | ALT | GUI |LOWER | SPACE |RAISE | LEFT | DOWN | UP |RIGHT | | ||
| 36 | * `-----------------------------------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [0] = LAYOUT_4x12_MIT( \ | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LCTL, KC_LALT, KC_LGUI, TT(1), KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 48 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 49 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 50 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 51 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 52 | * | | | | | | | | + | = | | | | | ||
| 53 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 54 | * | | | ESC |CTRL-ALT-DEL|TASK| | | | | '|' | ` | | | ||
| 55 | * `---------------------------------------------------------------------------------------' | ||
| 56 | */ | ||
| 57 | [1] = LAYOUT_4x12_MIT( \ | ||
| 58 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 59 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 61 | _______, KC_ESC, CALTDEL, TSKMGR, _______, _______, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 62 | ), | ||
| 63 | |||
| 64 | /* [2] | ||
| 65 | * ,---------------------------------------------------------------------------------------. | ||
| 66 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 67 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 69 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 70 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 71 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 72 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 73 | * |RESET | | | | | | | | | | | | ||
| 74 | * `---------------------------------------------------------------------------------------' | ||
| 75 | */ | ||
| 76 | [2] = LAYOUT_4x12_MIT( \ | ||
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 80 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | }; | ||
diff --git a/keyboards/quark/keymaps/default_5x12_2x3/config.h b/keyboards/quark/keymaps/default_5x12_2x3/config.h deleted file mode 100644 index ef97c811f..000000000 --- a/keyboards/quark/keymaps/default_5x12_2x3/config.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | |||
| 18 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_5x12_2x3/keymap.c b/keyboards/quark/keymaps/default_5x12_2x3/keymap.c deleted file mode 100644 index 8b3cf0311..000000000 --- a/keyboards/quark/keymaps/default_5x12_2x3/keymap.c +++ /dev/null | |||
| @@ -1,89 +0,0 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * Modified by Nasp for the Quark | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | /* [0] | ||
| 27 | * ,-----------------------------------------------------------------------------------------. | ||
| 28 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 29 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 30 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 31 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 32 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 33 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 34 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 35 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 36 | * | OS | Alt | Layer | Space & Layer | [ | ] | | ||
| 37 | * `-----------------------------------------------------------------------------------------' | ||
| 38 | */ | ||
| 39 | [0] = LAYOUT_5x12_2x3( \ | ||
| 40 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 41 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 42 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 43 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 44 | KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC | ||
| 45 | ), | ||
| 46 | |||
| 47 | /* [1] | ||
| 48 | * ,---------------------------------------------------------------------------------------. | ||
| 49 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 50 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 51 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 52 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 53 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 54 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 55 | * | | | | | | | | + | = | | | | | ||
| 56 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 57 | * | ESC | CTRL-ALT-DEL | | | '|' | ` | | ||
| 58 | * `---------------------------------------------------------------------------------------' | ||
| 59 | */ | ||
| 60 | [1] = LAYOUT_5x12_2x3( \ | ||
| 61 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 62 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 63 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 65 | KC_ESC, CALTDEL, _______, _______, KC_NUBS, KC_GRV | ||
| 66 | ), | ||
| 67 | |||
| 68 | /* [2] | ||
| 69 | * ,---------------------------------------------------------------------------------------. | ||
| 70 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 71 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 72 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 74 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 75 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 76 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 77 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 78 | * | RESET | | | | | | | ||
| 79 | * `---------------------------------------------------------------------------------------' | ||
| 80 | */ | ||
| 81 | [2] = LAYOUT_5x12_2x3( \ | ||
| 82 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 83 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 84 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 85 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 86 | RESET, _______, _______, _______, _______, _______ | ||
| 87 | ), | ||
| 88 | |||
| 89 | }; | ||
diff --git a/keyboards/quark/keymaps/default_5x12_2x3u/config.h b/keyboards/quark/keymaps/default_5x12_2x3u/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/quark/keymaps/default_5x12_2x3u/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_5x12_2x3u/keymap.c b/keyboards/quark/keymaps/default_5x12_2x3u/keymap.c new file mode 100644 index 000000000..43e4d7e13 --- /dev/null +++ b/keyboards/quark/keymaps/default_5x12_2x3u/keymap.c | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 27 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 28 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 29 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 30 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 31 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 32 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 33 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 34 | * | OS | Alt | Layer | Space & Layer | [ | ] | | ||
| 35 | * `-----------------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [0] = LAYOUT_ortho_5x12_2x3u( | ||
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 48 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 49 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 50 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 51 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 52 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 53 | * | | | | | | | | + | = | | | | | ||
| 54 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 55 | * | ESC | CTRL-ALT-DEL | | | '|' | ` | | ||
| 56 | * `---------------------------------------------------------------------------------------' | ||
| 57 | */ | ||
| 58 | [1] = LAYOUT_ortho_5x12_2x3u( | ||
| 59 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 63 | KC_ESC, CALTDEL, _______, _______, KC_NUBS, KC_GRV | ||
| 64 | ), | ||
| 65 | |||
| 66 | /* [2] | ||
| 67 | * ,---------------------------------------------------------------------------------------. | ||
| 68 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 69 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 70 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 71 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 72 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 74 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 75 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 76 | * | RESET | | | | | | | ||
| 77 | * `---------------------------------------------------------------------------------------' | ||
| 78 | */ | ||
| 79 | [2] = LAYOUT_ortho_5x12_2x3u( | ||
| 80 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 84 | RESET, _______, _______, _______, _______, _______ | ||
| 85 | ) | ||
| 86 | }; | ||
diff --git a/keyboards/quark/keymaps/default_mit/config.h b/keyboards/quark/keymaps/default_mit/config.h new file mode 100644 index 000000000..c6f30237d --- /dev/null +++ b/keyboards/quark/keymaps/default_mit/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/quark/keymaps/default_mit/keymap.c b/keyboards/quark/keymaps/default_mit/keymap.c new file mode 100644 index 000000000..c18b3b557 --- /dev/null +++ b/keyboards/quark/keymaps/default_mit/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | DEL | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTRL&ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | SHIFT | Z | X | C | V | B | N | M | , | . | / | ENTER | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | Ctrl | ALT | GUI |LOWER | SPACE |RAISE | LEFT | DOWN | UP |RIGHT | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_planck_mit( | ||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 40 | KC_PSCR, KC_LCTL, KC_LALT, KC_LGUI, TT(1), KC_SPC, TT(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | | | ESC |CTRL-ALT-DEL|TASK| | | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_planck_mit( | ||
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 59 | _______, KC_ESC, CALTDEL, TSKMGR, _______, _______, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * |RESET | | | | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_planck_mit( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/quark/keymaps/via/keymap.c b/keyboards/quark/keymaps/via/keymap.c index 87e03fa18..3953b6a68 100644 --- a/keyboards/quark/keymaps/via/keymap.c +++ b/keyboards/quark/keymaps/via/keymap.c | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | 1 | /* Copyright 2020 Nathan Spears |
| 2 | * | ||
| 2 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 3 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| 4 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
| @@ -19,70 +20,67 @@ | |||
| 19 | #define CALTDEL LCTL(LALT(KC_DEL)) | 20 | #define CALTDEL LCTL(LALT(KC_DEL)) |
| 20 | #define TSKMGR LCTL(LSFT(KC_ESC)) | 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) |
| 21 | 22 | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 27 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 28 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 29 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 30 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 31 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 32 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 33 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 34 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 35 | * `-----------------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [0] = LAYOUT_ortho_5x12_2x225u( | ||
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | ||
| 43 | ), | ||
| 24 | 44 | ||
| 25 | /* [0] | 45 | /* [1] |
| 26 | * ,-----------------------------------------------------------------------------------------. | 46 | * ,---------------------------------------------------------------------------------------. |
| 27 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | 47 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | |
| 28 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | 48 | * |------------+------+------+------+------+------+------+------+------+------+------+----| |
| 29 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | 49 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | |
| 30 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | 50 | * |------------+------+------+------+------+-------------+------+------+------+------+----| |
| 31 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | 51 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | |
| 32 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | 52 | * |------------+------+------+------+------+------|------+------+------+------+------+----| |
| 33 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | 53 | * | | | | | | | | + | = | | | | |
| 34 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | 54 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| |
| 35 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | 55 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | |
| 36 | * `-----------------------------------------------------------------------------------------' | 56 | * `---------------------------------------------------------------------------------------' |
| 37 | */ | 57 | */ |
| 38 | [0] = LAYOUT_5x12_2x225( \ | 58 | [1] = LAYOUT_ortho_5x12_2x225u( |
| 39 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | 59 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, |
| 40 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | 60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, |
| 41 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | 61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, |
| 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 62 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, |
| 43 | KC_PSCR, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_LBRC, KC_RBRC, KC_CAPS | 63 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ |
| 44 | ), | 64 | ), |
| 45 | |||
| 46 | /* [1] | ||
| 47 | * ,---------------------------------------------------------------------------------------. | ||
| 48 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 49 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 50 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 51 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 52 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 53 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 54 | * | | | | | | | | + | = | | | | | ||
| 55 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 56 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 57 | * `---------------------------------------------------------------------------------------' | ||
| 58 | */ | ||
| 59 | [1] = LAYOUT_5x12_2x225( \ | ||
| 60 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 61 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 62 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 64 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 65 | ), | ||
| 66 | |||
| 67 | /* [2] | ||
| 68 | * ,---------------------------------------------------------------------------------------. | ||
| 69 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 70 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 71 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 72 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 73 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 74 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 75 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 76 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 77 | * | RESET | | | | | | | | | ||
| 78 | * `---------------------------------------------------------------------------------------' | ||
| 79 | */ | ||
| 80 | [2] = LAYOUT_5x12_2x225( \ | ||
| 81 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 82 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 83 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 84 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 85 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 86 | ), | ||
| 87 | 65 | ||
| 66 | /* [2] | ||
| 67 | * ,---------------------------------------------------------------------------------------. | ||
| 68 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 69 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 70 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 71 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 72 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 74 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 75 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 76 | * | RESET | | | | | | | | | ||
| 77 | * `---------------------------------------------------------------------------------------' | ||
| 78 | */ | ||
| 79 | [2] = LAYOUT_ortho_5x12_2x225u( | ||
| 80 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 84 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 85 | ) | ||
| 88 | }; | 86 | }; |
diff --git a/keyboards/quark/quark.c b/keyboards/quark/quark.c index 6b962a893..02610c420 100644 --- a/keyboards/quark/quark.c +++ b/keyboards/quark/quark.c | |||
| @@ -1 +1,17 @@ | |||
| 1 | /* Copyright 2020 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "quark.h" | 17 | #include "quark.h" |
diff --git a/keyboards/quark/quark.h b/keyboards/quark/quark.h index a81b062d0..e1af96eb7 100644 --- a/keyboards/quark/quark.h +++ b/keyboards/quark/quark.h | |||
| @@ -14,93 +14,88 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | |||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
| 20 | #include "quantum.h" | 19 | #include "quantum.h" |
| 21 | 20 | ||
| 22 | #define LAYOUT_5x12_2x225( \ | 21 | #define XXX KC_NO |
| 23 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 22 | |
| 24 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 23 | #define LAYOUT_ortho_5x12_2x225u( \ |
| 25 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 24 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 26 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, \ | 25 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 27 | k400, k401, k402, k403, k404, k405, k406, k407 \ | 26 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 28 | ) \ | 27 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \ |
| 29 | { \ | 28 | k40, k41, k43, k44, k47, k48, k4A, k4B \ |
| 30 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 29 | ) { \ |
| 31 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 30 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 32 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 31 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 33 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | 32 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 34 | { k400, k401, KC_NO, k402, k403, KC_NO, KC_NO, k404, k405, KC_NO, k406, k407 } \ | 33 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ |
| 34 | { k40, k41, XXX, k43, k44, XXX, XXX, k47, k48, XXX, k4A, k4B } \ | ||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | #define LAYOUT_5x12_2x3( \ | 37 | #define LAYOUT_ortho_5x12_2x3u( \ |
| 38 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 38 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 39 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 39 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 40 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 40 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 41 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, \ | 41 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \ |
| 42 | k400, k401, k402, k403, k404, k405 \ | 42 | k40, k41, k43, k48, k4A, k4B \ |
| 43 | ) \ | 43 | ) { \ |
| 44 | { \ | 44 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 45 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 45 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 46 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 46 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 47 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 47 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ |
| 48 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | 48 | { k40, k41, XXX, XXX, k43, XXX, XXX, k48, XXX, XXX, k4A, k4B } \ |
| 49 | { k400, k401, KC_NO, KC_NO, k402, KC_NO, KC_NO, k403, KC_NO, KC_NO, k404, k405 } \ | ||
| 50 | } | 49 | } |
| 51 | 50 | ||
| 52 | #define LAYOUT_ortho_4x12( \ | 51 | #define LAYOUT_ortho_4x12( \ |
| 53 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 52 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 54 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 53 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 55 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 54 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 56 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 \ | 55 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B \ |
| 57 | ) \ | 56 | ) { \ |
| 58 | { \ | 57 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 59 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 58 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 60 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 59 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 61 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 60 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ |
| 62 | { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 }, \ | 61 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ |
| 63 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 64 | } | 62 | } |
| 65 | 63 | ||
| 66 | #define LAYOUT_4x12_MIT( \ | 64 | #define LAYOUT_planck_mit( \ |
| 67 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 65 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 68 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 66 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 69 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 67 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 70 | k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310 \ | 68 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A \ |
| 71 | ) \ | 69 | ) { \ |
| 72 | { \ | 70 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 73 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 71 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 74 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 72 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 75 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 73 | { k30, k31, k32, k33, k34, k35, XXX, k36, k37, k38, k39, k3A }, \ |
| 76 | { k300, k301, k302, k303, k304, k305, KC_NO, k306, k307, k308, k309, k310 }, \ | 74 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ |
| 77 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 78 | } | 75 | } |
| 79 | 76 | ||
| 80 | #define LAYOUT_4x12_2x225( \ | 77 | #define LAYOUT_ortho_4x12_2x225u( \ |
| 81 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 78 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 82 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 79 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 83 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 80 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 84 | k300, k301, k302, k303, k304, k305, k306, k307 \ | 81 | k30, k31, k33, k34, k37, k38, k3A, k3B \ |
| 85 | ) \ | 82 | ) { \ |
| 86 | { \ | 83 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 87 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 84 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 88 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 85 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 89 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 86 | { k30, k31, XXX, k33, k34, XXX, XXX, k37, k38, XXX, k3A, k3B }, \ |
| 90 | { k300, k301, KC_NO, k302, k303, KC_NO, KC_NO, k304, k305, KC_NO, k306, k307 }, \ | 87 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ |
| 91 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 92 | } | 88 | } |
| 93 | 89 | ||
| 94 | #define LAYOUT_4x12_2x3( \ | 90 | #define LAYOUT_ortho_4x12_2x3u( \ |
| 95 | k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \ | 91 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 96 | k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \ | 92 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 97 | k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \ | 93 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 98 | k300, k301, k302, k303, k304, k305, k306, k307 \ | 94 | k30, k31, k32, k34, k37, k39, k3A, k3B \ |
| 99 | ) \ | 95 | ) { \ |
| 100 | { \ | 96 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 101 | { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \ | 97 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 102 | { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \ | 98 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 103 | { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \ | 99 | { k30, k31, k32, XXX, k34, XXX, XXX, k37, XXX, k39, k3A, k3B }, \ |
| 104 | { k300, k301, k302, KC_NO, k303, KC_NO, KC_NO, k304, KC_NO, k305, k306, k307 }, \ | 100 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ |
| 105 | {KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ | ||
| 106 | } | 101 | } |
diff --git a/keyboards/quark/readme.md b/keyboards/quark/readme.md index def04f59f..88b742f82 100644 --- a/keyboards/quark/readme.md +++ b/keyboards/quark/readme.md | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | # Quark | 1 | # Quark |
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | The Quark PCB is a modified layout for the Planck by OLKB. It's similar to a Planck, but the bottom row was designed to be more useable-larger than 1u keys. | 5 | The Quark PCB is a modified layout for the Planck by OLKB. It's similar to a Planck, but the bottom row was designed to be more useable-larger than 1u keys. |
| 6 | 6 | ||
| 7 | Keyboard Maintainer: [Nasp](https://github.com/npspears) | 7 | * Keyboard Maintainer: [Nasp](https://github.com/npspears) |
| 8 | Hardware Supported: Planck | 8 | * Hardware Supported: Planck |
| 9 | Hardware Availability: https://forms.gle/ZpGtQjBNtsbuSV767 | 9 | * Hardware Availability: https://forms.gle/ZpGtQjBNtsbuSV767 |
| 10 | 10 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
| 12 | 12 | ||
diff --git a/keyboards/quark/rules.mk b/keyboards/quark/rules.mk index 535d7c25c..41e815be5 100644 --- a/keyboards/quark/rules.mk +++ b/keyboards/quark/rules.mk | |||
| @@ -12,6 +12,7 @@ MOUSEKEY_ENABLE = no # Mouse keys | |||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 13 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | 14 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 15 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 16 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 17 | NKRO_ENABLE = yes # USB Nkey Rollover | 18 | NKRO_ENABLE = yes # USB Nkey Rollover |
| @@ -21,4 +22,4 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
| 21 | AUDIO_ENABLE = no # Audio output | 22 | AUDIO_ENABLE = no # Audio output |
| 22 | UNICODE_ENABLE = yes # Unicode | 23 | UNICODE_ENABLE = yes # Unicode |
| 23 | 24 | ||
| 24 | LAYOUTS = ortho_4x12 | 25 | LAYOUTS = ortho_4x12 planck_mit |
