scrcpy: scrcpy and Force Touch Detector conflict (xposed plugin)
scrcpy 和 Force Touch Detector 冲突,会使点击操作变成大面积按压。
The conflict between scrcpy and Force Touch Detector will make the click operation become a large area pressing.
Environment
- OS: [e.g. Debian, Windows, macOS…]
- scrcpy version: [e.g. 1.12.1]
- installation method: [e.g. manual build, apt, snap, brew, Windows release…]
- device model:
- Android version: [e.g. 10]
Describe the bug A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat
if relevant).
Please paste terminal output in a code block.
Please do not post screenshots of your terminal, just post the content as text instead.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20
Commits related to this issue
- Inject touch events with smallest detectable size A value of 1 means the "largest detectable size", a value of 0 means the "smallest detectable size". https://developer.android.com/reference/android... — committed to Genymobile/scrcpy by rom1v 3 years ago
- Use device id 0 for touch/mouse events Virtual device is only for keyboard sources, not mouse or touchscreen sources. Here is the value of InputDevice.getDevice(-1).toString(): Input Device -1: ... — committed to Genymobile/scrcpy by rom1v 3 years ago
- Use device id 0 for touch/mouse events Virtual device is only for keyboard sources, not mouse or touchscreen sources. Here is the value of InputDevice.getDevice(-1).toString(): Input Device -1: ... — committed to Genymobile/scrcpy by rom1v 3 years ago
完美,现在在我的手机上一切正常。 非常感谢你仍在为我提供支持!🤞
Perfect, everything works fine on my phone now. Thank you very much for supporting me all the time!🤞
Hmm, indeed:
https://github.com/Genymobile/scrcpy/blob/f8524a2be738e6471ed2e48265f2663d8c21c0be/server/src/main/java/com/genymobile/scrcpy/Controller.java#L48
https://developer.android.com/reference/android/view/MotionEvent#AXIS_SIZE
Try with: