scrcpy/app/src/usb
Romain Vimont fc75319bb2 Fix HID mouse support with SDL precise scrolling
Over HID, only integral scroll values can be sent. When SDL precise
scrolling is active, scroll events may include fractional values (e.g.,
0.05), which are truncated to 0 in the HID event.

To fix the problem, use the integral scroll value reported by SDL, which
internally accumulates fractional deltas.

Fixes #6156 <https://github.com/Genymobile/scrcpy/issues/6156>
PR #6172 <https://github.com/Genymobile/scrcpy/pull/6172>
2025-06-20 19:54:16 +02:00
..
aoa_hid.c Cleanup includes 2024-12-23 12:19:47 +01:00
aoa_hid.h Cleanup includes 2024-12-23 12:19:47 +01:00
gamepad_aoa.c Cleanup includes 2024-12-23 12:19:47 +01:00
gamepad_aoa.h Cleanup includes 2024-12-23 12:19:47 +01:00
keyboard_aoa.c Make AOA keyboard/mouse open error fatal 2024-09-15 11:21:56 +02:00
keyboard_aoa.h Cleanup includes 2024-12-23 12:19:47 +01:00
mouse_aoa.c Fix HID mouse support with SDL precise scrolling 2025-06-20 19:54:16 +02:00
mouse_aoa.h Cleanup includes 2024-12-23 12:19:47 +01:00
scrcpy_otg.c Cleanup includes 2024-12-23 12:19:47 +01:00
scrcpy_otg.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen_otg.c Fix HID mouse support with SDL precise scrolling 2025-06-20 19:54:16 +02:00
screen_otg.h Cleanup includes 2024-12-23 12:19:47 +01:00
usb.c Make sc_usb_devices_destroy() static 2023-10-23 15:39:19 +02:00
usb.h Report USB device disconnection when detected 2022-02-20 17:38:14 +01:00