Genymobile-scrcpy/app
Romain Vimont 7c8bdccbdc Extend value range for SDK mouse scrolling
SDL precise scrolling can sometimes produce values greater than 1 or
less than -1.

On the wire, the value is encoded as a 16-bit fixed-point number.

Previously, the range was interpreted as [-1, 1], using 1 bit for the
integral part (the sign) and 15 bits for the fractional part.

To support larger values, interpret the range as [-16, 16] instead,
using 5 bits for the integral part and 11 bits for the fractional part
(which is more than enough).

PR #6172 <https://github.com/Genymobile/scrcpy/pull/6172>
2025-06-20 19:54:16 +02:00
..
data Remove useless flag in zsh completion script 2025-05-22 20:00:58 +02:00
deps Upgrade libusb (1.0.29) 2025-06-11 19:39:02 +02:00
src Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
tests Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
meson.build Set icon and server env paths for meson devenv 2024-12-12 18:15:26 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 3.3 2025-06-11 19:39:48 +02:00
scrcpy.1 Add missing --screen-off-timeout doc in manpage 2025-04-14 18:07:37 +02:00