diff options
Diffstat (limited to 'users/konstantin/konstantin.h')
| -rw-r--r-- | users/konstantin/konstantin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/konstantin/konstantin.h b/users/konstantin/konstantin.h index 06081496b..f67f9f1b7 100644 --- a/users/konstantin/konstantin.h +++ b/users/konstantin/konstantin.h | |||
| @@ -25,6 +25,16 @@ | |||
| 25 | 25 | ||
| 26 | #define LCT_CPS LCTL_T(KC_CAPS) | 26 | #define LCT_CPS LCTL_T(KC_CAPS) |
| 27 | 27 | ||
| 28 | #ifdef SEND_STRING_CLEAN | ||
| 29 | #undef SEND_STRING | ||
| 30 | #define SEND_STRING(...) { \ | ||
| 31 | uint8_t ss_mods = get_mods(); \ | ||
| 32 | clear_mods(); \ | ||
| 33 | send_string_P(PSTR(__VA_ARGS__)); \ | ||
| 34 | set_mods(ss_mods); \ | ||
| 35 | } | ||
| 36 | #endif | ||
| 37 | |||
| 28 | enum keycodes_user { | 38 | enum keycodes_user { |
| 29 | CLEAR = SAFE_RANGE, | 39 | CLEAR = SAFE_RANGE, |
| 30 | #ifdef LAYER_NUMPAD | 40 | #ifdef LAYER_NUMPAD |
