tiny logic fix

pull/18/head
Jesse Vincent 9 years ago
parent 5d7139c8f0
commit 921e700d9f

@ -60,8 +60,7 @@ void handle_synthetic_key_event(byte switchState, Key mappedKey) {
} else { } else {
handle_mouse_key_event(switchState, mappedKey); handle_mouse_key_event(switchState, mappedKey);
} }
} } else if (mappedKey.flags & IS_CONSUMER) {
if (mappedKey.flags & IS_CONSUMER) {
if (key_toggled_on (switchState)) { if (key_toggled_on (switchState)) {
ConsumerControl.press(mappedKey.rawKey); ConsumerControl.press(mappedKey.rawKey);
} }

Loading…
Cancel
Save