From 6ba0b818e9ab8830610ab2a74515227884f93abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Sun, 27 Jan 2019 17:46:54 +0100 Subject: [Keymap] Update personal userspace and keymaps (#4963) * Remove duplicated or unnecessary definitions in config.h and rules.mk * Use IS_HOST_LED_ON() macro * Add mouse acceleration to kbd6x:konstantin keymap * Clear and restore mods when sending macros * Make SEND_STRING_CLEAN a config option * Add NO_ACTION_ONESHOT to userspace config --- users/konstantin/config.h | 1 + users/konstantin/konstantin.c | 5 +++-- users/konstantin/konstantin.h | 10 ++++++++++ users/konstantin/rules.mk | 1 - 4 files changed, 14 insertions(+), 3 deletions(-) (limited to 'users/konstantin') diff --git a/users/konstantin/config.h b/users/konstantin/config.h index d03333f05d..800b8e49ba 100644 --- a/users/konstantin/config.h +++ b/users/konstantin/config.h @@ -14,6 +14,7 @@ #define NO_ACTION_FUNCTION #define NO_ACTION_MACRO +#define NO_ACTION_ONESHOT #define PERMISSIVE_HOLD #define TAPPING_TERM 200 diff --git a/users/konstantin/konstantin.c b/users/konstantin/konstantin.c index 977111c1f9..47596279c3 100644 --- a/users/konstantin/konstantin.c +++ b/users/konstantin/konstantin.c @@ -3,8 +3,9 @@ #ifdef LAYER_NUMPAD static void toggle_numpad(void) { layer_invert(L_NUMPAD); - bool num_lock = host_keyboard_leds() & 1<