scrcpy/app/src
Romain Vimont 98570a6d49 Handle mouse integer scrolling locally
Do not rely on SDL to expose integer scroll values, as they are not
available in all versions.

It was reimplemented in SDL 3.2.12 by this commit:
<0447c2f3c3>

Refs #6156 <https://github.com/Genymobile/scrcpy/issues/6156>
2025-11-28 22:44:12 +01:00
..
adb Replace __WINDOWS__ by _WIN32 2025-07-17 18:23:25 +02:00
android Fix typos 2024-08-05 16:13:02 +02:00
hid Handle mouse integer scrolling locally 2025-11-28 22:44:12 +01:00
sys Cleanup includes 2024-12-23 12:19:47 +01:00
trait Cleanup includes 2024-12-23 12:19:47 +01:00
uhid Handle mouse integer scrolling locally 2025-11-28 22:44:12 +01:00
usb Handle mouse integer scrolling locally 2025-11-28 22:44:12 +01:00
util Add missing includes 2025-07-17 18:23:12 +02:00
audio_player.c Split audio player 2024-09-23 23:59:08 +02:00
audio_player.h Cleanup includes 2024-12-23 12:19:47 +01:00
audio_regulator.c Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
audio_regulator.h Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
cli.c Add more audio sources 2025-03-29 14:54:35 +01:00
cli.h Simplify shortcut modifiers 2024-06-23 19:15:45 +02:00
clock.c Improve delay buffer startup 2024-09-12 11:06:13 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Add app name SDL hint 2025-06-05 19:59:59 +02:00
control_msg.c Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
control_msg.h Define UHID vendorId and productId from the client 2024-12-08 11:00:18 +01:00
controller.c Introduce non-droppable control messages 2024-09-15 11:21:56 +02:00
controller.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Cleanup includes 2024-12-23 12:19:47 +01:00
decoder.h Cleanup includes 2024-12-23 12:19:47 +01:00
delay_buffer.c Cleanup includes 2024-12-23 12:19:47 +01:00
delay_buffer.h Cleanup includes 2024-12-23 12:19:47 +01:00
demuxer.c Cleanup includes 2024-12-23 12:19:47 +01:00
demuxer.h Cleanup includes 2024-12-23 12:19:47 +01:00
device_msg.c Fix UHID_OUTPUT message parsing 2025-10-09 09:35:14 +02:00
device_msg.h Cleanup includes 2024-12-23 12:19:47 +01:00
display.c Fix frame leak on pending frame update 2025-09-23 21:18:45 +02:00
display.h Fix gl_context declared type 2025-08-12 18:08:22 +02:00
events.c Cleanup includes 2024-12-23 12:19:47 +01:00
events.h Fix SDL_events.h include 2024-10-12 15:57:24 +02:00
file_pusher.c Cleanup includes 2024-12-23 12:19:47 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Cleanup includes 2024-12-23 12:19:47 +01:00
fps_counter.h Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.c Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.h Cleanup includes 2024-12-23 12:19:47 +01:00
icon.c Cleanup includes 2024-12-23 12:19:47 +01:00
icon.h Cleanup includes 2024-12-23 12:19:47 +01:00
input_events.h Handle mouse integer scrolling locally 2025-11-28 22:44:12 +01:00
input_manager.c Handle mouse integer scrolling locally 2025-11-28 22:44:12 +01:00
input_manager.h Cleanup includes 2024-12-23 12:19:47 +01:00
keyboard_sdk.c Cleanup includes 2024-12-23 12:19:47 +01:00
keyboard_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
main.c Add missing includes 2025-07-17 18:23:12 +02:00
mouse_capture.c Fix build error on macOS 2024-10-07 16:54:15 +02:00
mouse_capture.h Use shortcut mods as mouse capture keys 2024-10-06 18:01:02 +02:00
mouse_sdk.c Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
mouse_sdk.h Cleanup includes 2024-12-23 12:19:47 +01:00
opengl.c Cleanup includes 2024-12-23 12:19:47 +01:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Add --display-ime-policy option 2025-02-22 11:05:22 +01:00
options.h Add more audio sources 2025-03-29 14:54:35 +01:00
packet_merger.c Cleanup includes 2024-12-23 12:19:47 +01:00
packet_merger.h Cleanup includes 2024-12-23 12:19:47 +01:00
receiver.c Cleanup includes 2024-12-23 12:19:47 +01:00
receiver.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
recorder.c Cleanup includes 2024-12-23 12:19:47 +01:00
recorder.h Cleanup includes 2024-12-23 12:19:47 +01:00
scrcpy.c Catch CTRL_BREAK_EVENT signal on Windows 2025-08-12 18:17:32 +02:00
scrcpy.h Cleanup includes 2024-12-23 12:19:47 +01:00
screen.c Replace __WINDOWS__ by _WIN32 2025-07-17 18:23:25 +02:00
screen.h Cleanup includes 2024-12-23 12:19:47 +01:00
server.c Add more audio sources 2025-03-29 14:54:35 +01:00
server.h Add --display-ime-policy option 2025-02-22 11:05:22 +01:00
shortcut_mod.h Cleanup includes 2024-12-23 12:19:47 +01:00
v4l2_sink.c Cleanup includes 2024-12-23 12:19:47 +01:00
v4l2_sink.h Cleanup includes 2024-12-23 12:19:47 +01:00
version.c Cleanup includes 2024-12-23 12:19:47 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00