aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-02-01 21:12:55 +0100
committerSébastien Dailly <sebastien@dailly.me>2024-02-01 21:12:55 +0100
commit2881787aeac52549bd457c93a5a31b572b68c6de (patch)
tree569bc20d821aac036f9395264f0b76eed4655baa
parent145f5ab9252cddc28867ac676bfa467b3196c696 (diff)
QMK: When using the ALT modifier, prevent the key '/È to trigger the
tapdance
-rw-r--r--qmk/keyboards/sofle_choc/keymaps/custom/keycodes.c6
1 files changed, 6 insertions, 0 deletions
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,
+ &quote_key_override,
NULL
};