From e112ea3d698a43a668a11418c3faaede8115d5fe Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 19 Jan 2017 12:45:44 +0100 Subject: [PATCH] Decrease the timeout to 5 cycles Having a long timeout for tap-dance is counter-intuitive, unlike for the other special keys with timeouts. Use a short one instead. Fixes #2. Signed-off-by: Gergely Nagy --- src/Akela/TapDance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/TapDance.cpp b/src/Akela/TapDance.cpp index 00aee9c6..0ed93d02 100644 --- a/src/Akela/TapDance.cpp +++ b/src/Akela/TapDance.cpp @@ -23,7 +23,7 @@ using namespace Akela::Ranges; namespace Akela { // --- state --- uint16_t TapDance::timer; - uint16_t TapDance::timeOut = DEFAULT_TIMEOUT; + uint16_t TapDance::timeOut = 5; uint8_t TapDance::tapCount[32]; uint32_t TapDance::pressedState; uint32_t TapDance::triggeredState;