1
0
Fork 0

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 Jael're 2021-09-12 16:48:11 -07:00 committed by GitHub
parent 10362777a5
commit ab34ecb669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;