diff options
Diffstat (limited to 'users/stanrc85/stanrc85.h')
-rw-r--r-- | users/stanrc85/stanrc85.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h index b3d413fa1..ceb7167e1 100644 --- a/users/stanrc85/stanrc85.h +++ b/users/stanrc85/stanrc85.h | |||
@@ -3,10 +3,17 @@ | |||
3 | #include "quantum.h" | 3 | #include "quantum.h" |
4 | #include "version.h" | 4 | #include "version.h" |
5 | 5 | ||
6 | #define DEFAULT 0 //Custom ANSI | 6 | enum my_layers { |
7 | #define LAYER1 1 //Default ANSI (enable with Fn2+CAPS) | 7 | _NUMPAD = 0, //Macropad numpad |
8 | #define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control | 8 | _NAVKEY, //Macropad nav keys |
9 | #define LAYER3 3 //RGB Underglow controls and RESET | 9 | _MEDIA, //Macropad media controls |
10 | _RGB, //Macropad RGB controls | ||
11 | _FN1PAD, //Macropad reset and make commands | ||
12 | _QWERTY = 0, //Qwerty with custom shortcuts and functions | ||
13 | _DEFAULT, //Default ANSI for gaming, enable with FN2+RCtl | ||
14 | _FN1_60, //Function keys, arrows, custom shortcuts, volume control | ||
15 | _FN2_60 //RGB Underglow controls and RESET | ||
16 | }; | ||
10 | 17 | ||
11 | //Aliases for longer keycodes | 18 | //Aliases for longer keycodes |
12 | #define KC_CAD LALT(LCTL(KC_DEL)) | 19 | #define KC_CAD LALT(LCTL(KC_DEL)) |
@@ -14,10 +21,12 @@ | |||
14 | #define CA_QUOT LCA(KC_QUOT) | 21 | #define CA_QUOT LCA(KC_QUOT) |
15 | #define CA_SCLN LCA(KC_SCLN) | 22 | #define CA_SCLN LCA(KC_SCLN) |
16 | #define KC_CTLE LCTL_T(KC_ESC) | 23 | #define KC_CTLE LCTL_T(KC_ESC) |
17 | #define LT_SPCF LT(2, KC_SPC) | 24 | #define LT_SPCF LT(_FN1_60, KC_SPC) |
18 | #define TD_TESC TD(TD_ESC) | 25 | #define TD_TESC TD(TD_ESC) |
19 | #define TD_TWIN TD(TD_WIN) | 26 | #define TD_TWIN TD(TD_WIN) |
20 | #define TD_TCTL TD(TD_RCTL) | 27 | #define TD_TCTL TD(TD_RCTL) |
28 | #define CA_COPY LCTL(KC_C) | ||
29 | #define CA_PSTE LCTL(KC_V) | ||
21 | 30 | ||
22 | enum cust_keys { | 31 | enum cust_keys { |
23 | KC_MAKE = SAFE_RANGE, | 32 | KC_MAKE = SAFE_RANGE, |