pull/18/head
Jesse Vincent 11 years ago
parent 50ae519c2e
commit afa5713910

@ -200,7 +200,7 @@ void send_key_events(int layer) {
if (key_toggled_on (switchState)) {
Mouse.press(mappedKey.rawKey);
} else if (key_is_pressed(switchState)) {
} else if (Mouse.isPressed(mappedKey.rawKey) ){
} else if (Mouse.isPressed(mappedKey.rawKey) ) {
Mouse.release(mappedKey.rawKey);
}
}

Loading…
Cancel
Save