diff options
author | Didier Loiseau <didierloiseau+git@gmail.com> | 2016-04-06 00:13:18 +0200 |
---|---|---|
committer | Didier Loiseau <didierloiseau+git@gmail.com> | 2016-04-06 01:05:53 +0200 |
commit | 81a889c97d2d300ac3a5ba8f8c065318029aa4c2 (patch) | |
tree | 38a6eb887560614c4aac277bb5a3d540af0c0b0f | |
parent | 5bc69c5b0a25d12aa8d96c58b01304453d5ccbd6 (diff) | |
download | qmk_firmware-81a889c97d2d300ac3a5ba8f8c065318029aa4c2.tar.gz qmk_firmware-81a889c97d2d300ac3a5ba8f8c065318029aa4c2.zip |
Add delay to CSA macros using dead keys
With the BÉPO over CSA on Windows, the dead keys stop working after a
while, like in
http://superuser.com/questions/776558/suddenly-dead-keys-dont-work
I suspect this is triggered by too fast typing from macros.
-rw-r--r-- | keyboard/ergodox_ez/keymaps/bepo/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboard/ergodox_ez/keymaps/bepo/keymap.c b/keyboard/ergodox_ez/keymaps/bepo/keymap.c index 339faf5772..7fac3597f6 100644 --- a/keyboard/ergodox_ez/keymaps/bepo/keymap.c +++ b/keyboard/ergodox_ez/keymaps/bepo/keymap.c @@ -453,7 +453,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) case M_SCLN: return MACRO(D(SCLN), END); case M_GRV: - return MACRO(DOWN(CSA_ALTGR), TYPE(CSA_DCRC), UP(CSA_ALTGR), T(SPACE), END); + return MACRO(I(75), DOWN(CSA_ALTGR), TYPE(CSA_DCRC), UP(CSA_ALTGR), T(SPACE), END); case M_NBSP: // use weak mod such that pressing another key will not be affected add_weak_mods(MOD_BIT(CSA_ALTGR)); @@ -477,7 +477,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) break; case M_CRC: if (record->event.pressed) { - return MACRO(TYPE(CSA_DCRC), T(SPACE), END); + return MACRO(I(75), TYPE(CSA_DCRC), T(SPACE), END); } break; case M_DBL0: |