diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-01 08:09:05 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-01 11:09:05 -0400 |
commit | 9d949389f92b6b397ed62246b60ead86d80a57a1 (patch) | |
tree | fcf590a8b5309442023caf32dfeb162839c6864a /quantum/process_keycode | |
parent | a398d2cece1ee69006cf26e9a86fbf38e1acb0d1 (diff) | |
download | qmk_firmware-9d949389f92b6b397ed62246b60ead86d80a57a1.tar.gz qmk_firmware-9d949389f92b6b397ed62246b60ead86d80a57a1.zip |
Adds default value for TAPPING_TERM if Tap Dance is enabled (#2785)
* Force require TAPPING_TERM if Tap Dance is enabled
* Handle lack of TAPPING_TERM more gracefully
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c index 833780691..b55ace5ba 100644 --- a/quantum/process_keycode/process_tap_dance.c +++ b/quantum/process_keycode/process_tap_dance.c | |||
@@ -16,6 +16,10 @@ | |||
16 | #include "quantum.h" | 16 | #include "quantum.h" |
17 | #include "action_tapping.h" | 17 | #include "action_tapping.h" |
18 | 18 | ||
19 | #ifndef TAPPING_TERM | ||
20 | #define TAPPING_TERM 200 | ||
21 | #endif | ||
22 | |||
19 | #ifndef NO_ACTION_ONESHOT | 23 | #ifndef NO_ACTION_ONESHOT |
20 | uint8_t get_oneshot_mods(void); | 24 | uint8_t get_oneshot_mods(void); |
21 | #endif | 25 | #endif |