Stop unintentional fallthrough to mouse keys

pull/18/head
Jesse Vincent 11 years ago
parent 9c4b3c95eb
commit 27b7d668dc

@ -228,12 +228,12 @@ void send_key_events(byte layer)
Keyboard.consumerControl(mappedKey.rawKey);
}
}
if(mappedKey.flags & IS_SYSCTL) {
else if(mappedKey.flags & IS_SYSCTL) {
if (key_toggled_on (switchState)) {
Keyboard.systemControl(mappedKey.rawKey);
}
}
if(mappedKey.flags & IS_MACRO) {
else if(mappedKey.flags & IS_MACRO) {
if (key_toggled_on (switchState)) {
if (mappedKey.rawKey == 1) {
Keyboard.print("Keyboard.IO keyboard driver v0.00");

Loading…
Cancel
Save