diff options
Diffstat (limited to 'users/stanrc85/stanrc85.h')
| -rw-r--r-- | users/stanrc85/stanrc85.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h index 7e581f993..091c81070 100644 --- a/users/stanrc85/stanrc85.h +++ b/users/stanrc85/stanrc85.h | |||
| @@ -1,12 +1,21 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #include "quantum.h" | 3 | #include "quantum.h" |
| 4 | #include "version.h" | ||
| 4 | 5 | ||
| 5 | #define DEFAULT 0 //Custom ANSI | 6 | #define DEFAULT 0 //Custom ANSI |
| 6 | #define LAYER1 1 //Default ANSI (enable with Fn2+CAPS) | 7 | #define LAYER1 1 //Default ANSI (enable with Fn2+CAPS) |
| 7 | #define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control | 8 | #define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control |
| 8 | #define LAYER3 3 //RGB Underglow controls and RESET | 9 | #define LAYER3 3 //RGB Underglow controls and RESET |
| 9 | 10 | ||
| 11 | enum custom_keycodes { | ||
| 12 | KC_MAKE = SAFE_RANGE, | ||
| 13 | NEW_SAFE_RANGE //use "NEW_SAFE_RANGE" for keymap specific codes | ||
| 14 | }; | ||
| 15 | |||
| 16 | #define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) | ||
| 17 | #define MODS_CTRL_MASK (MOD_BIT(KC_LCTL)|MOD_BIT(KC_RCTRL)) | ||
| 18 | |||
| 10 | //Aliases for longer keycodes | 19 | //Aliases for longer keycodes |
| 11 | #define KC_CAD LALT(LCTL(KC_DEL)) | 20 | #define KC_CAD LALT(LCTL(KC_DEL)) |
| 12 | #define KC_LOCK LGUI(KC_L) | 21 | #define KC_LOCK LGUI(KC_L) |
