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
|
|
@ -45,7 +45,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
backlight_level(6);
|
||||
}
|
||||
|
||||
if (IS_MOD(keycode)) {
|
||||
if (IS_MODIFIER_KEYCODE(keycode)) {
|
||||
if (record->event.pressed) {
|
||||
rgblight_setrgb(RGB_RED);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue