diff options
| author | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
| commit | 431a0e36f42ef3c44de4fd46f304ad2b38e4b3cd (patch) | |
| tree | de2ba58df905003676b436fdfba7b90802199291 /app/src/test/java/invalid/lena/scrcpy/ControlStreamTest.java | |
| parent | 735ca8b58dc341f4521a162346ba14fe943eb2bb (diff) | |
| download | scrcpy-android-431a0e36f42ef3c44de4fd46f304ad2b38e4b3cd.tar.gz | |
app: clamp forwarded touch pressure to u16
MotionEvent.getPressure() is calibrated around 1.0 but may exceed it
on some digitizers. Masking with 0xffff wrapped hard presses around
to a light touch; clamp instead.
Diffstat (limited to 'app/src/test/java/invalid/lena/scrcpy/ControlStreamTest.java')
0 files changed, 0 insertions, 0 deletions