aboutsummaryrefslogtreecommitdiff
path: root/test-rig/e2e.sh
diff options
context:
space:
mode:
authorLena <lena@omega>2026-07-01 00:00:00 +0000
committerLena <lena@omega>2026-07-01 00:00:00 +0000
commit431a0e36f42ef3c44de4fd46f304ad2b38e4b3cd (patch)
treede2ba58df905003676b436fdfba7b90802199291 /test-rig/e2e.sh
parent735ca8b58dc341f4521a162346ba14fe943eb2bb (diff)
downloadscrcpy-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 'test-rig/e2e.sh')
0 files changed, 0 insertions, 0 deletions