Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/848/head^2
Jesse Vincent 5 years ago
parent 96d64d94d5
commit 16e3324e28
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -177,8 +177,8 @@ kaleidoscope::EventHandlerResult LEDControl::beforeReportingState(void) {
if (pending_next_prev_key_ != Key_NoKey) {
bool is_shifted =
kaleidoscope::Runtime.hid().keyboard().isModifierKeyActive(Key_LeftShift) ||
kaleidoscope::Runtime.hid().keyboard().isModifierKeyActive(Key_RightShift);
kaleidoscope::Runtime.hid().keyboard().isModifierKeyActive(Key_LeftShift) ||
kaleidoscope::Runtime.hid().keyboard().isModifierKeyActive(Key_RightShift);
if ((pending_next_prev_key_ == Key_LEDEffectNext && !is_shifted) ||
(pending_next_prev_key_ == Key_LEDEffectPrevious && is_shifted)) {

Loading…
Cancel
Save