aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_rgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_rgb.c')
-rw-r--r--quantum/process_keycode/process_rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_rgb.c b/quantum/process_keycode/process_rgb.c
index 627e5986f..21164b8f9 100644
--- a/quantum/process_keycode/process_rgb.c
+++ b/quantum/process_keycode/process_rgb.c
@@ -56,7 +56,7 @@ bool process_rgb(const uint16_t keycode, const keyrecord_t *record) {
56 // Split keyboards need to trigger on key-up for edge-case issue 56 // Split keyboards need to trigger on key-up for edge-case issue
57 if (!record->event.pressed) { 57 if (!record->event.pressed) {
58#endif 58#endif
59 uint8_t shifted = get_mods() & (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)); 59 uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
60 switch (keycode) { 60 switch (keycode) {
61 case RGB_TOG: 61 case RGB_TOG:
62 rgblight_toggle(); 62 rgblight_toggle();