Apply TAP_CODE_DELAY to Tap Dance key sequences (#14412)

* Add  support to tap dances

* Move default tap code defines to header file
This commit is contained in:
Drashna Jaelre
2021-09-12 16:48:11 -07:00
committed by GitHub
parent 10362777a5
commit ab34ecb669
3 changed files with 9 additions and 6 deletions

View File

@@ -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;