diff options
author | Joel Challis <[email protected]> | 2023-02-10 21:10:14 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-10 21:10:14 +0000 |
commit | 1d0b4c8d38794dc019ecb224f2992b4ddfa70839 (patch) | |
tree | 48e0423bcafbb2fa680c7bc5199aba8794665339 /quantum/action_tapping.c | |
parent | 2ffdec5dc2a5cb350998168e76d7916e2d9728fc (diff) | |
download | qmk_firmware-1d0b4c8d38794dc019ecb224f2992b4ddfa70839.tar.gz qmk_firmware-1d0b4c8d38794dc019ecb224f2992b4ddfa70839.zip |
Tidy up use of keycode range helpers (#19756)
Diffstat (limited to 'quantum/action_tapping.c')
-rw-r--r-- | quantum/action_tapping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/action_tapping.c b/quantum/action_tapping.c index 821265d399..60c7ed4973 100644 --- a/quantum/action_tapping.c +++ b/quantum/action_tapping.c @@ -247,12 +247,12 @@ bool process_tapping(keyrecord_t *keyp) { case ACT_LMODS: case ACT_RMODS: if (action.key.mods && !action.key.code) return false; - if (IS_MOD(action.key.code)) return false; + if (IS_MODIFIER_KEYCODE(action.key.code)) return false; break; case ACT_LMODS_TAP: case ACT_RMODS_TAP: if (action.key.mods && keyp->tap.count == 0) return false; - if (IS_MOD(action.key.code)) return false; + if (IS_MODIFIER_KEYCODE(action.key.code)) return false; break; case ACT_LAYER_TAP: case ACT_LAYER_TAP_EXT: |