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 06081496b6..f67f9f1b7e 100644 --- a/users/konstantin/konstantin.h +++ b/users/konstantin/konstantin.h @@ -25,6 +25,16 @@ #define LCT_CPS LCTL_T(KC_CAPS) +#ifdef SEND_STRING_CLEAN + #undef SEND_STRING + #define SEND_STRING(...) { \ + uint8_t ss_mods = get_mods(); \ + clear_mods(); \ + send_string_P(PSTR(__VA_ARGS__)); \ + set_mods(ss_mods); \ + } +#endif + enum keycodes_user { CLEAR = SAFE_RANGE, #ifdef LAYER_NUMPAD |