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/default/config.h | |
parent | 41778a51ab5c9aa0d419212cc88947539e76a08e (diff) |
better one shots
Diffstat (limited to 'totem/keymaps/default/config.h')
-rw-r--r-- | totem/keymaps/default/config.h | 18 |
1 files changed, 14 insertions, 4 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 |