mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-10-05 15:48:46 +00:00
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> |
||
---|---|---|
.. | ||
test_adb_parser.c | ||
test_audiobuf.c | ||
test_binary.c | ||
test_cli.c | ||
test_control_msg_serialize.c | ||
test_device_msg_deserialize.c | ||
test_orientation.c | ||
test_str.c | ||
test_strbuf.c | ||
test_vecdeque.c | ||
test_vector.c |