diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-04-15 19:09:24 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-04-15 19:09:24 +0200 |
commit | 787f91a3da14734a5ce95ff88339f1a9829d9aba (patch) | |
tree | 4144516de8bdc24e20991128ca47e8053b876fb9 /totem/keymaps | |
parent | 41778a51ab5c9aa0d419212cc88947539e76a08e (diff) |
better one shots
Diffstat (limited to 'totem/keymaps')
-rw-r--r-- | totem/keymaps/default/config.h | 18 | ||||
-rw-r--r-- | totem/keymaps/default/rules.mk | 3 |
2 files changed, 14 insertions, 7 deletions
diff --git a/totem/keymaps/default/config.h b/totem/keymaps/default/config.h index aead1c0..2707b76 100644 --- a/totem/keymaps/default/config.h +++ b/totem/keymaps/default/config.h @@ -1,7 +1,17 @@ #pragma once -/* The way how "handedness" is decided (which half is which), - see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness - for more options. -*/ +/** + * The way how "handedness" is decided (which half is which), + * see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness for more options. + */ #define MASTER_LEFT + +/** + * Tapping this number of times holds the key until tapped once again. + */ +#define ONESHOT_TAP_TOGGLE 0 + +/** + * Time (in ms) before the one shot key is released. + */ +#define ONESHOT_TIMEOUT 3000 diff --git a/totem/keymaps/default/rules.mk b/totem/keymaps/default/rules.mk index 2504f54..e133235 100644 --- a/totem/keymaps/default/rules.mk +++ b/totem/keymaps/default/rules.mk @@ -1,6 +1,3 @@ # less debugging features COMMAND_ENABLE = no CONSOLE_ENABLE = no - -# per key debounce: https://github.com/qmk/qmk_firmware/blob/master/docs/feature_debounce_type.md -DEBOUNCE_TYPE = sym_defer_pk |