Tidy up use of keycode range helpers (#19756)
This commit is contained in:
parent
2ffdec5dc2
commit
1d0b4c8d38
16 changed files with 39 additions and 33 deletions
|
@ -402,7 +402,7 @@ bool process_key_override(const uint16_t keycode, const keyrecord_t *const recor
|
|||
#endif
|
||||
|
||||
const bool key_down = record->event.pressed;
|
||||
const bool is_mod = IS_MOD(keycode);
|
||||
const bool is_mod = IS_MODIFIER_KEYCODE(keycode);
|
||||
|
||||
if (key_down) {
|
||||
switch (keycode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue