scrcpy/app/src/usb
Romain Vimont 3ee3f8dc02 Work around mouse capture SDL bug on macOS
On macOS, SDL relative mouse mode does not work correctly when the
cursor is outside the window.

As a workaround, move the cursor inside the window before setting the
relative mouse mode.

Refs SDL/#5340 <https://github.com/libsdl-org/SDL/issues/5340>
PR #3031 <https://github.com/Genymobile/scrcpy/pull/3031>
2022-02-20 17:28:02 +01:00
..
aoa_hid.c Remove LOGC() 2022-02-09 09:52:15 +01:00
aoa_hid.h Move sc_usb out of sc_aoa 2022-01-27 23:35:59 +01:00
hid_keyboard.c Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_keyboard.h Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_mouse.c Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_mouse.h Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
scrcpy_otg.c Fix USB device leak on connection error 2022-02-10 08:47:39 +01:00
scrcpy_otg.h Add OTG mode 2022-01-27 23:36:23 +01:00
screen_otg.c Work around mouse capture SDL bug on macOS 2022-02-20 17:28:02 +01:00
screen_otg.h Do not duplicate relative mouse mode state 2022-02-10 08:50:18 +01:00
usb.c Improve error message for unsupported usb hotplug 2022-02-10 08:54:43 +01:00
usb.h List and select USB devices separately 2022-02-09 09:55:25 +01:00