From 2881787aeac52549bd457c93a5a31b572b68c6de Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 1 Feb 2024 21:12:55 +0100 Subject: QMK: When using the ALT modifier, prevent the key '/È to trigger the tapdance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qmk') diff --git a/qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c b/qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c index 2c17764..bd091bb 100644 --- a/qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c +++ b/qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c @@ -60,6 +60,11 @@ const key_override_t perc_key_override = const key_override_t c_key_override = ko_make_basic(MOD_MASK_CTRL, KEY_C, LCTL(BP_C)); +// Same here, I want to be able to type '' without triggering the tapdance. +// And there is no such key combo for Alt+È. +const key_override_t quote_key_override = + ko_make_basic(MOD_MASK_ALT, KEY_EE, RALT(BP_COMM)); + // Same here, I override the key W with CTRL because the tapdance activate the // caps_word which does not make sense here. const key_override_t w_key_override = @@ -75,6 +80,7 @@ const key_override_t **key_overrides = (const key_override_t *[]){ &c_key_override, &w_key_override, &e_key_override, + "e_key_override, NULL }; -- cgit v1.2.3