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 {
handle_mouse_key_event(switchState, mappedKey);
}
}
if (mappedKey.flags & IS_CONSUMER) {
} else if (mappedKey.flags & IS_CONSUMER) {
if (key_toggled_on (switchState)) {
ConsumerControl.press(mappedKey.rawKey);
}

Loading…
Cancel
Save