hwcomposer: Add touchpad pinch-to-zoom gesture support#66
Conversation
Signed-off-by: SupeChicken666 <me@supechicken666.dev>
Changes in 8090f77
|
|
/gemini start |
|
Thank you for the update. I have reviewed the implementation of the touchpad pinch-to-zoom gesture support. The approach of mapping pinch gestures to touch events using
Overall, the logic seems sound for the intended purpose. Please ensure you have tested this across different Wayland compositors to verify the gesture behavior remains consistent. |
Fixes waydroid/waydroid#905
Fixes waydroid/waydroid#1180
Partially fixes waydroid/waydroid#1953
This works by mapping the touchpad pinch gesture to touch movements, which sounds much easier compared to patching AOSP sources :)
However, when the cursor is close to the edge of window, this might not work due to the lack of space for mapping the gesture (can be mitigated by setting a lower value in
persist.waydroid.zoom_sensitivity, but this also affects the sensitivity as well)The sensibility can be adjusted by these two props; a higher value means faster zoom-in/out speed when the gesture is performed, and vice versa (and more screen space is needed to perform the gesture):
persist.waydroid.zoom_sensitivity(default: 120)