aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfolkert4 <folkertjw@gmail.com>2017-02-28 17:49:42 -0500
committerfolkert4 <folkertjw@gmail.com>2017-02-28 17:49:42 -0500
commit71971e818f272196c29a80b4ce9a6ae3ac5b09bd (patch)
tree68eeb11ea4e416961e74a3817cb3c9892b9befe5
parent4c4cf3ca4921ed94b6f51398a070293e9efc5e0b (diff)
downloadqmk_firmware-71971e818f272196c29a80b4ce9a6ae3ac5b09bd.tar.gz
qmk_firmware-71971e818f272196c29a80b4ce9a6ae3ac5b09bd.zip
Various QOL changes:
Removed some unneeded keys from raise and lower layers moved the + and = signs, backspace is now more intuitive moved all the Function keys to CUSTOM layer added ctrl alt del to CUSTOM layer simplified the layout picture greatly
-rw-r--r--keyboards/planck/keymaps/espynn/keyboard-layout.jpgbin52908 -> 53129 bytes
-rw-r--r--keyboards/planck/keymaps/espynn/keymap.c22
-rw-r--r--keyboards/planck/keymaps/espynn/layout.json131
-rw-r--r--keyboards/planck/keymaps/espynn/readme.md12
4 files changed, 95 insertions, 70 deletions
diff --git a/keyboards/planck/keymaps/espynn/keyboard-layout.jpg b/keyboards/planck/keymaps/espynn/keyboard-layout.jpg
index 55e5396bf..c5e438f6a 100644
--- a/keyboards/planck/keymaps/espynn/keyboard-layout.jpg
+++ b/keyboards/planck/keymaps/espynn/keyboard-layout.jpg
Binary files differ
diff --git a/keyboards/planck/keymaps/espynn/keymap.c b/keyboards/planck/keymaps/espynn/keymap.c
index 4a3fe32b8..a24ad9d48 100644
--- a/keyboards/planck/keymaps/espynn/keymap.c
+++ b/keyboards/planck/keymaps/espynn/keymap.c
@@ -60,7 +60,7 @@ const uint16_t PROGMEM fn_actions[] = {
60 [7] = ACTION_MODS_KEY(MOD_LCTL, KC_UNDS), 60 [7] = ACTION_MODS_KEY(MOD_LCTL, KC_UNDS),
61 }; 61 };
62 62
63// This config can be found at Keyboard layout editor site: http://goo.gl/zjXL2l 63// This config can be found at Keyboard layout editor site: https://goo.gl/cF7uIO
64const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 64const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
65[_QWERTY] = { /* QWERTY */ 65[_QWERTY] = { /* QWERTY */
66 {KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC}, 66 {KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
@@ -69,22 +69,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
69 {KC_LCTL, KC_ESC, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT} 69 {KC_LCTL, KC_ESC, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
70}, 70},
71[_LOWER] = { /* LOWER */ 71[_LOWER] = { /* LOWER */
72 {KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL}, 72 {KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_TRNS},
73 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LPRN, KC_RPRN, KC_LCBR, KC_RCBR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}, 73 {KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_LPRN, KC_RPRN, KC_LCBR, KC_RCBR, KC_MINS, KC_TRNS, KC_TRNS, KC_TRNS},
74 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_QUOT, KC_DQT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}, 74 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_QUOT, KC_DQT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS},
75 {KC_TRNS, ZM_NRM, ZM_IN, ZM_OUT, KC_TRNS, KC_PGDN, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS} 75 {KC_TRNS, ZM_NRM, ZM_IN, ZM_OUT, KC_TRNS, KC_PGDN, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
76}, 76},
77[_RAISE] = { /* RAISE */ 77[_RAISE] = { /* RAISE */
78 {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 {KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_UNDS, KC_TRNS},
79 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_LCBR, KC_BSLS, KC_TRNS}, 79 {KC_TRNS, KC_TRNS, KC_TRNS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PLUS, KC_TRNS, KC_TRNS, KC_TRNS},
80 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, KC_PIPE, KC_GRV, KC_TILD, KC_LBRC, KC_LBRC, KC_TRNS, KC_TRNS}, 80 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, KC_PIPE, KC_GRV, KC_TILD, S(KC_COMM), S(KC_DOT), KC_BSLS, KC_TRNS},
81 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_PGUP, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY} 81 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_PGUP, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY}
82}, 82},
83[_CUSTOM] = { /* CUSTOM */ 83[_CUSTOM] = { /* CUSTOM */
84 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, CUS4, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}, 84 {KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_TRNS},
85 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, CUS0, CUS3, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}, 85 {KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, CUS0, CUS3, CUS4, KC_TRNS, KC_F12, KC_TRNS},
86 {KC_TRNS, KC_TRNS, CUT, COPY, PASTE, CUS1, CUS5, CUS2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}, 86 {KC_TRNS, KC_TRNS, CUT, COPY, PASTE, CUS1, CUS5, CUS2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS},
87 {BL, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS} 87 {BL, RESET, LALT(LCTL(KC_DEL)), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS}
88} 88}
89}; 89};
90 90
diff --git a/keyboards/planck/keymaps/espynn/layout.json b/keyboards/planck/keymaps/espynn/layout.json
index 38ccc3452..ccdf2afde 100644
--- a/keyboards/planck/keymaps/espynn/layout.json
+++ b/keyboards/planck/keymaps/espynn/layout.json
@@ -3,6 +3,7 @@
3 "backcolor": "#858585", 3 "backcolor": "#858585",
4 "name": "Planck 40%", 4 "name": "Planck 40%",
5 "author": "James Folkert", 5 "author": "James Folkert",
6 "notes": "# Espynn's keymap for Planck Ortholinear 40% Mechanical Keyboard\nAdded several custom functions to the keymap from the \"ab\" map. Special thanks to \"mollat\" for demonstration of macros in their keymap.c\n \n\n![Layout](keyboard-layout.png \"Practical Keymap\")\n\n* Online keyboard layout editor: http://goo.gl/mlLAFZ\n\n# Notes\n* Front legend text is the custom layer (both raise and lower)\n* Holding is denoted by down arrow, for example, right shift is an enter button when tapped, shift when held\n* Simultaneous RAISE+LOWER enters CUSTOM layer. Several custom keymaps are here\n* I disregarded the advice of Jack and used macros for passwords. I accept my fate.\n* RAISE and LOWER also acts as PgUp and PgDn when tapped.\n* [CapsLock] also acts as [Ctrl] key when you press and hold. It is convenient for GNU Emacs users. (not sure if this works)\n* Bracket/ paran/ brace keys are placed in the center of the keyboard for programmer's convenience.",
6 "background": { 7 "background": {
7 "name": "Aluminium brushed", 8 "name": "Aluminium brushed",
8 "style": "background-image: url('/bg/metal/aluminum_texture1642.jpg');" 9 "style": "background-image: url('/bg/metal/aluminum_texture1642.jpg');"
@@ -19,41 +20,49 @@
19 2, 20 2,
20 2, 21 2,
21 0, 22 0,
22 2 23 0
23 ] 24 ]
24 }, 25 },
25 "F1\n1\n\n!\n\n\n\n\n\n<i class='kb kb-Tab-2'></i>", 26 "!\n1\n\n\nF1\n\n\n\n\n<i class='kb kb-Tab-2'></i>",
26 "F2\n2\n\n@\n\n\n\n\n\nQ", 27 "@\n2\n\n\nF2\n\n\n\n\nQ",
27 "F3\n3\n\n#\n\n\n\n\n\nW", 28 "#\n3\n\n\nF3\n\n\n\n\nW",
28 "F4\n4\n\n$\n\n\n\n\n\nE", 29 "$\n4\n\n\nF4\n\n\n\n\nE",
29 "F5\n5\n\n%\n\n\n\n\n\nR", 30 "%\n5\n\n\nF5\n\n\n\n\nR",
30 "F6\n6\n\n^\n\n\n\n\n\nT", 31 "^\n6\n\n\nF6\n\n\n\n\nT",
31 "F7\n6\n\n&\n\n\n\n\n\nY", 32 "&\n7\n\n\nF7\n\n\n\n\nY",
32 "F8\n8\n\n*\nMacro4\n\n\n\n\nU", 33 "*\n8\n\n\nF8\n\n\n\n\nU",
33 "F9\n9\n\n(\n\n\n\n\n\nI", 34 "(\n9\n\n\nF9\n\n\n\n\nI",
34 { 35 {
35 "fa": [ 36 "fa": [
37 2,
36 0, 38 0,
37 0, 39 0,
38 0, 40 0
39 2
40 ] 41 ]
41 }, 42 },
42 "F10\n0\n\n)\n\n\n\n\n\nO", 43 ")\n0\n\n\nF10\n\n\n\n\nO",
43 { 44 {
44 "fa": [ 45 "fa": [
45 2, 46 2,
46 2, 47 2,
47 0, 48 0,
48 2 49 0,
50 0,
51 0,
52 0,
53 0,
54 0
49 ] 55 ]
50 }, 56 },
51 "F11\n-\n\n_\n\n\n\n\n\nP", 57 "_\n-\n\n\nF11\n\n\n\n\nP",
52 "F12\n=\n\n+\n\n\n\n\n\n<i class='kb kb-Unicode-BackSpace-DeleteLeft-Big'></i>" 58 {
59 "a": 7,
60 "f": 3
61 },
62 "<i class='kb kb-Unicode-BackSpace-DeleteLeft-Big'></i>"
53 ], 63 ],
54 [ 64 [
55 { 65 {
56 "a": 7,
57 "f": 3 66 "f": 3
58 }, 67 },
59 "<i class='mss mss-Unicode-DeleteRight-Big-2'></i>", 68 "<i class='mss mss-Unicode-DeleteRight-Big-2'></i>",
@@ -66,12 +75,12 @@
66 }, 75 },
67 "S", 76 "S",
68 { 77 {
78 "a": 4,
69 "f": 3 79 "f": 3
70 }, 80 },
71 "D", 81 "=\n_\n\n\n\n\n\n\n\nD",
72 { 82 {
73 "t": "#ff0000", 83 "t": "#ff0000",
74 "a": 4,
75 "f": 3 84 "f": 3
76 }, 85 },
77 "\n(\n\n\n\n\n\n\n\nF", 86 "\n(\n\n\n\n\n\n\n\nF",
@@ -93,24 +102,21 @@
93 "t": "#000000", 102 "t": "#000000",
94 "f": 3 103 "f": 3
95 }, 104 },
96 "{\n\n\n\n\n\n\n\n\nK", 105 "+\n-\n\n\nMacro4\n\n\n\n\nK",
97 { 106 {
107 "a": 7,
98 "f": 3 108 "f": 3
99 }, 109 },
100 "{\n\n\n\n\n\n\n\n\nL", 110 "L",
101 { 111 {
112 "a": 6,
102 "fa": [ 113 "fa": [
103 2, 114 2,
104 2, 115 2,
105 2,
106 2,
107 0,
108 0,
109 0,
110 2 116 2
111 ] 117 ]
112 }, 118 },
113 "\\\n\n|\n\n\n\n\n:\n\n;", 119 "\n\n:\n\nF12\n\n\n\n;",
114 { 120 {
115 "a": 7, 121 "a": 7,
116 "fa": [ 122 "fa": [
@@ -141,66 +147,79 @@
141 "fa": [ 147 "fa": [
142 2, 148 2,
143 2, 149 2,
144 2, 150 0,
145 2 151 0
146 ] 152 ]
147 }, 153 },
148 "\\\n[\n|\n{\nPaste\n\n\n\n\nV", 154 "\\\n[\n\n\nPaste\n\n\n\n\nV",
149 "|\n]\n\n}\nMacro1\n\n\n\n\nB", 155 "|\n]\n\n\nMacro1\n\n\n\n\nB",
150 "`\n'\n~\n\"\nMacro5\n\n\n\n\nN", 156 "`\n'\n\n\nMacro5\n\n\n\n\nN",
151 "~\n\"\n\n\nMacro2\n\n\n\n\nM", 157 "~\n\"\n\n\nMacro2\n\n\n\n\nM",
152 { 158 {
153 "fa": [ 159 "fa": [
154 2, 160 2,
155 2, 161 2,
156 2,
157 2,
158 0, 162 0,
159 0, 163 0,
160 0, 164 0,
161 1 165 0,
166 0,
167 2
162 ] 168 ]
163 }, 169 },
164 "[\n\n{\n\n\n\n\n<\n\n,", 170 "<\n\n\n\n\n\n\n<\n\n,",
165 "[\n\n{\n\n\n\n\n\n\n.",
166 { 171 {
167 "a": 6 172 "fa": [
173 2,
174 2,
175 0
176 ]
168 }, 177 },
169 "\n\n?\n\n\n\n\n\n/", 178 ">\n\n\n\n\n\n\n>\n\n.",
170 { 179 {
171 "a": 4,
172 "fa": [ 180 "fa": [
181 0,
173 2, 182 2,
174 2, 183 0,
184 0,
185 0,
186 0,
187 0,
188 2
189 ]
190 },
191 "\\\n\n\n\n\n\n\n?\n\n/",
192 {
193 "fa": [
194 0,
175 2, 195 2,
176 0, 196 0,
177 0, 197 0,
178 0, 198 0,
179 0, 199 0,
180 1, 200 0,
181 9, 201 2,
182 0 202 9
183 ] 203 ]
184 }, 204 },
185 "\n\n\n<i class='kb kb-Arrows-Bottom-4'></i>Shift\n\n\n\n\n<i class='mss mss-Unicode-Enter-3'></i>\n\n<i class='kb kb-Arrows-Bottom-4'></i>Shift" 205 "\n\n\n<i class='kb kb-Arrows-Bottom-4'></i>Shift\n\n\n\n\n<i class='mss mss-Unicode-Enter-3'></i>\n\n<i class='kb kb-Arrows-Bottom-4'></i>Shift"
186 ], 206 ],
187 [ 207 [
188 { 208 {
189 "a": 7, 209 "a": 7
190 "f": 3
191 }, 210 },
192 "Ctrl\n\n\n\nBLight", 211 "Ctrl\n\n\n\nBLight",
193 { 212 {
194 "a": 4, 213 "a": 4,
195 "fa": [ 214 "fa": [
196 2, 215 0,
197 1, 216 1,
198 2,
199 0, 217 0,
200 0, 218 0,
201 0, 219 0,
202 0, 220 0,
203 1, 221 0,
222 2,
204 9, 223 9,
205 9 224 9
206 ] 225 ]
@@ -208,29 +227,29 @@
208 "\nZNorm\n\n\nRESET\n\n\n\n\n<i class='mss mss-Unicode-Escape-3'></i>", 227 "\nZNorm\n\n\nRESET\n\n\n\n\n<i class='mss mss-Unicode-Escape-3'></i>",
209 { 228 {
210 "fa": [ 229 "fa": [
211 2, 230 0,
212 1, 231 1,
213 2,
214 0, 232 0,
215 0, 233 0,
216 0, 234 0,
217 0, 235 0,
218 1, 236 0,
237 2,
219 9, 238 9,
220 6 239 6
221 ] 240 ]
222 }, 241 },
223 "\nZIn\n\n\n\n\n\n\n\n<i class='kb kb-logo-windows-8'></i>", 242 "\nZIn\n\n\nc.a.del\n\n\n\n\n<i class='kb kb-logo-windows-8'></i>",
224 { 243 {
225 "fa": [ 244 "fa": [
226 2, 245 0,
227 1, 246 1,
228 2,
229 0, 247 0,
230 0, 248 0,
231 0, 249 0,
232 0, 250 0,
233 1, 251 0,
252 2,
234 9, 253 9,
235 9 254 9
236 ] 255 ]
diff --git a/keyboards/planck/keymaps/espynn/readme.md b/keyboards/planck/keymaps/espynn/readme.md
index 8882f4601..ea84cf955 100644
--- a/keyboards/planck/keymaps/espynn/readme.md
+++ b/keyboards/planck/keymaps/espynn/readme.md
@@ -3,7 +3,7 @@ Created by James Folkert: https://twitter.com/trekloFsemaJ
3Added several custom functions to the keymap from the "ab" map. Special thanks to "mollat" for demonstration of macros in their keymap.c 3Added several custom functions to the keymap from the "ab" map. Special thanks to "mollat" for demonstration of macros in their keymap.c
4 4
5 5
6![Layout](keyboard-layout.png "Practical Keymap") 6![Layout](keyboard-layout.jpg "Practical Keymap")
7 7
8 8
9* Online keyboard layout editor: http://www.keyboard-layout-editor.com/ 9* Online keyboard layout editor: http://www.keyboard-layout-editor.com/
@@ -14,5 +14,11 @@ Added several custom functions to the keymap from the "ab" map. Special thanks t
14* I disregarded the advice of Jack and used macros for passwords. I accept my fate. These have been abstracted to macros 2, 3, and 4 14* I disregarded the advice of Jack and used macros for passwords. I accept my fate. These have been abstracted to macros 2, 3, and 4
15* add your mobile and email to the keymap before make 15* add your mobile and email to the keymap before make
16* RAISE and LOWER also acts as PgUp and PgDn when tapped. 16* RAISE and LOWER also acts as PgUp and PgDn when tapped.
17* [CapsLock] also acts as [Ctrl] key when you press and hold. It is convenient for GNU Emacs users. (not sure if this works) 17* Bracket/ paran/ brace keys are placed in the center of the keyboard for programmer's convenience.
18* Bracket/ paran/ brace keys are placed in the center of the keyboard for programmer's convenience. \ No newline at end of file 18
19## changes
20* Removed some unneeded keys from raise and lower layers
21* moved the + and = signs, backspace is now more intuitive
22* moved all the Function keys to CUSTOM layer
23* added ctrl alt del to CUSTOM layer
24* simplified the layout picture greatly \ No newline at end of file