aboutsummaryrefslogtreecommitdiff
path: root/users/wanleg/wanleg.h
diff options
context:
space:
mode:
authorwanleg <32079073+wanleg@users.noreply.github.com>2018-12-30 07:53:02 -0800
committerDrashna Jaelre <drashna@live.com>2018-12-30 07:53:02 -0800
commitc043edd13871b9ec96cf495b9423da8df7f36965 (patch)
tree9acfae2120b8088d008e97004c6f71f879369387 /users/wanleg/wanleg.h
parentcc7bf108a93416036e3cd4d3e129abd56dfa9350 (diff)
downloadqmk_firmware-c043edd13871b9ec96cf495b9423da8df7f36965.tar.gz
qmk_firmware-c043edd13871b9ec96cf495b9423da8df7f36965.zip
Keymap: Wanleg 5x5 Keymap changes (#4738)
* config fixes (including for issue #3678) * put back audio * jj40 backlighting setup * jj40 backlighting setup * rules.mk fix * jj40 backlighting settings * iris setup * iris setup * iris setup * iris setup * iris setup - onehand * remove commented-out section * edits due to #4403 * xd75 testing * fix 5x15 layout issues with 5x5 bluetooth & xd75 * commenting out unused placeholders * change iris to more wanleg-like 4x12 layout * formatting changes * onehand layout cleanup/fix * revert temp change * create centre numpad option * 1st working version * change keypad numbers to regular numbers - doesn't work otherwise * adding comparison files, no change to core * fixed 5x5 with cleave * fixed 5x5 with cleave * switch mouse scroll buttons * clean up left/right/centre pad placement in 5x15 layouts * minor comment change * Update layouts/community/ortho_5x15/wanleg/keymap.c Co-Authored-By: wanleg <32079073+wanleg@users.noreply.github.com> * Update layouts/community/ortho_5x15/wanleg/keymap.c Co-Authored-By: wanleg <32079073+wanleg@users.noreply.github.com> * Update layouts/community/ortho_5x15/wanleg/keymap.c Co-Authored-By: wanleg <32079073+wanleg@users.noreply.github.com> * revert to original
Diffstat (limited to 'users/wanleg/wanleg.h')
-rw-r--r--users/wanleg/wanleg.h69
1 files changed, 8 insertions, 61 deletions
diff --git a/users/wanleg/wanleg.h b/users/wanleg/wanleg.h
index c2644cd6c..9d07760a7 100644
--- a/users/wanleg/wanleg.h
+++ b/users/wanleg/wanleg.h
@@ -11,72 +11,33 @@ enum userspace_layers {
11 gETC, 11 gETC,
12 _GK, 12 _GK,
13 _QW, 13 _QW,
14 QW75,
15 GK75,
16 ONE, 14 ONE,
17 SUB, 15 SUB,
18 SUP, 16 SUP,
19 NUM, 17 NUM,
20 DIR, 18 DIR,
21 ETC, 19 ETC,
22 SUB75, 20 _FN,
23 SUP75,
24 NUM75,
25 DIR75,
26 ETC75,
27 FN75,
28 PAD, 21 PAD,
29 GK50, 22 GK50,
30}; 23};
31#elif KEYBOARD_xd75 24#elif KEYBOARD_40percentclub_5x5
32enum userspace_layers { 25enum userspace_layers {
33 GK75 = 0, 26 GK50 = 0,
34 QW75,
35 SUB75,
36 SUP75,
37 NUM75,
38 DIR75,
39 ETC75,
40 FN75,
41 gGK,
42 _GK, 27 _GK,
43 _QW, 28 _QW,
44 PAD, 29 PAD,
45 ONE,
46 SUB,
47 SUP,
48 NUM,
49 DIR,
50 ETC,
51 gNUM,
52 gDIR,
53 gETC,
54 GK50,
55};
56#elif KEYBOARD_40percentclub_5x5
57enum userspace_layers {
58 GK50 = 0,
59 gNUM, 30 gNUM,
60 gDIR, 31 gDIR,
61 gETC, 32 gETC,
62 GK75,
63 QW75,
64 SUB75,
65 SUP75,
66 NUM75,
67 DIR75,
68 ETC75,
69 FN75,
70 PAD,
71 gGK, 33 gGK,
72 _GK,
73 _QW,
74 ONE, 34 ONE,
75 SUB, 35 SUB,
76 SUP, 36 SUP,
77 NUM, 37 NUM,
78 DIR, 38 DIR,
79 ETC, 39 ETC,
40 _FN,
80}; 41};
81#else 42#else
82 enum userspace_layers { 43 enum userspace_layers {
@@ -93,14 +54,7 @@ enum userspace_layers {
93 gNUM, 54 gNUM,
94 gDIR, 55 gDIR,
95 gETC, 56 gETC,
96 QW75, 57 _FN,
97 GK75,
98 SUB75,
99 SUP75,
100 NUM75,
101 DIR75,
102 ETC75,
103 FN75,
104 GK50, 58 GK50,
105}; 59};
106#endif 60#endif
@@ -109,8 +63,6 @@ enum userspace_custom_keycodes {
109 gGHERKIN = SAFE_RANGE, 63 gGHERKIN = SAFE_RANGE,
110 GHERKIN, 64 GHERKIN,
111 QWERTY, 65 QWERTY,
112 QWERTY75,
113 GHERKIN75,
114 ONEHAND, 66 ONEHAND,
115 SUBTER, 67 SUBTER,
116 SUPRA, 68 SUPRA,
@@ -120,12 +72,7 @@ enum userspace_custom_keycodes {
120 gNUMBER, 72 gNUMBER,
121 gDIRECTION, 73 gDIRECTION,
122 gETCETERA, 74 gETCETERA,
123 SUBTER75, 75 FUNCTION,
124 SUPRA75,
125 NUMBER75,
126 DIRECTION75,
127 ETCETERA75,
128 FUNCTION75,
129 NUMPAD, 76 NUMPAD,
130 GHERKIN50, 77 GHERKIN50,
131 78
@@ -215,14 +162,14 @@ enum {
215 162
216/* Et Cetera 163/* Et Cetera
217 * .-----------------------------------------------------------------------------------------. 164 * .-----------------------------------------------------------------------------------------.
218 * | ` | mUP | | | RESET | SHIFT | mScrUp | mScrDn | | \ | 165 * | ` | mUP | | | RESET | SHIFT | mScrDn | mScrUp | | \ |
219 * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 166 * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
220 * | mLeft | mDown | mRight | | SHIFT | mBtn3 | mBtn1 | mBtn2 | ; | ' | 167 * | mLeft | mDown | mRight | | SHIFT | mBtn3 | mBtn1 | mBtn2 | ; | ' |
221 * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 168 * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
222 * | Sft//Cp| CAPS | | | | C-A-D | mScrL | mScrR | ALT | DEL | 169 * | Sft//Cp| CAPS | | | | C-A-D | mScrL | mScrR | ALT | DEL |
223 * '-----------------------------------------------------------------------------------------' 170 * '-----------------------------------------------------------------------------------------'
224 */ 171 */
225#define _______________Gherkin_ETC_0_______________ KC_GRV, KC_MS_U, _______,_______, RESET, KC_RSFT, KC_WH_U, KC_WH_D, _______, KC_BSLS 172#define _______________Gherkin_ETC_0_______________ KC_GRV, KC_MS_U, _______,_______, RESET, KC_RSFT, KC_WH_D, KC_WH_U, _______, KC_BSLS
226#define _______________Gherkin_ETC_1_______________ KC_MS_L, KC_MS_D, KC_MS_R,_______, KC_LSFT, KC_BTN3, KC_BTN1, KC_BTN2, KC_SCLN, KC_QUOT 173#define _______________Gherkin_ETC_1_______________ KC_MS_L, KC_MS_D, KC_MS_R,_______, KC_LSFT, KC_BTN3, KC_BTN1, KC_BTN2, KC_SCLN, KC_QUOT
227#define _______________Gherkin_ETC_2_______________ TD(TD_SFT_CAPS),KC_CAPS, _______,_______, _______, LALT(LCTL(KC_DEL)), KC_WH_L, KC_WH_R, KC_LALT, KC_DEL 174#define _______________Gherkin_ETC_2_______________ TD(TD_SFT_CAPS),KC_CAPS, _______,_______, _______, LALT(LCTL(KC_DEL)), KC_WH_L, KC_WH_R, KC_LALT, KC_DEL
228 175