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:
parent
10362777a5
commit
ab34ecb669
3 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue