Format code according to conventions (#12380)
Co-authored-by: QMK Bot <hello@qmk.fm>
This commit is contained in:
parent
5c1442766c
commit
0a056cfd81
1 changed files with 8 additions and 9 deletions
|
@ -120,14 +120,13 @@ bool process_tapping(keyrecord_t *keyp) {
|
||||||
* useful for long TAPPING_TERM but may prevent fast typing.
|
* useful for long TAPPING_TERM but may prevent fast typing.
|
||||||
*/
|
*/
|
||||||
# if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY)
|
# if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY)
|
||||||
else if (
|
else if (((
|
||||||
((
|
|
||||||
# ifdef TAPPING_TERM_PER_KEY
|
# ifdef TAPPING_TERM_PER_KEY
|
||||||
get_tapping_term(get_event_keycode(tapping_key.event, false), keyp)
|
get_tapping_term(get_event_keycode(tapping_key.event, false), keyp)
|
||||||
# else
|
# else
|
||||||
TAPPING_TERM
|
TAPPING_TERM
|
||||||
# endif
|
# endif
|
||||||
>= 500 )
|
>= 500)
|
||||||
|
|
||||||
# ifdef PERMISSIVE_HOLD_PER_KEY
|
# ifdef PERMISSIVE_HOLD_PER_KEY
|
||||||
|| get_permissive_hold(get_event_keycode(tapping_key.event, false), keyp)
|
|| get_permissive_hold(get_event_keycode(tapping_key.event, false), keyp)
|
||||||
|
|
Loading…
Reference in a new issue