From ab34ecb66993f0cb7fc2a6aa960d0d0c4bafb773 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sun, 12 Sep 2021 16:48:11 -0700 Subject: Apply `TAP_CODE_DELAY` to Tap Dance key sequences (#14412) * Add support to tap dances * Move default tap code defines to header file --- quantum/action.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'quantum/action.h') diff --git a/quantum/action.h b/quantum/action.h index 3d357b33b8..8a357ded87 100644 --- a/quantum/action.h +++ b/quantum/action.h @@ -38,6 +38,13 @@ extern "C" { # endif #endif +#ifndef TAP_CODE_DELAY +# define TAP_CODE_DELAY 0 +#endif +#ifndef TAP_HOLD_CAPS_DELAY +# define TAP_HOLD_CAPS_DELAY 80 +#endif + /* tapping count and state */ typedef struct { bool interrupted : 1; -- cgit v1.2.3