mouse button clicking ends warping

pull/18/head
Jesse Vincent 11 years ago
parent 358926f56c
commit 53d1d684d1

@ -595,6 +595,7 @@ void handle_synthetic_key_press(byte switchState, Key mappedKey) {
} else if (mappedKey.rawKey == KEY_MOUSE_BTN_L
|| mappedKey.rawKey == KEY_MOUSE_BTN_M
|| mappedKey.rawKey == KEY_MOUSE_BTN_R) {
end_warping();
if (key_toggled_on (switchState)) {
Mouse.press(mappedKey.rawKey);
} else if (key_is_pressed(switchState)) {

Loading…
Cancel
Save