Opened 3 weeks ago
Last modified 2 weeks ago
#15445 pending defect (pending)
ANDROID: Gesture for middle click (three fingers tap) in direct touch mode
Reported by: | antoniou79 | Owned by: | antoniou79 |
---|---|---|---|
Priority: | normal | Component: | Port: Android |
Version: | Keywords: | ||
Cc: | Game: |
Description
I've tested this on an Android 12 device, with ScummVM 2.8.1.1 and a recent dev build of 2.9.0git with the Curse of Monkey Island game.
On Android, the three fingers tap should be equal to mouse middle click.
I've assigned this gesture to the "pause" action for the game.
However, while testing this in-game, it seemed to randomly result as it being detected as a "right click" (shows inventory) and sometimes as "show virtual keyboard".
If I switched to "touchpad emulation" mode, the gesture worked reliably as middle mouse click.
Change History (2)
comment:1 by , 2 weeks ago
comment:2 by , 2 weeks ago
Owner: | set to |
---|---|
Resolution: | → pending |
Status: | new → pending |
Note:
See TracTickets
for help on using tickets.
With commit https://github.com/scummvm/scummvm/commit/f9251fc030cc1a89625ecfab481ba491f4a507c3 I attempt to fix the issue of middle click gesture being immediately detected as "show keyboard".
I don't really like what we are doing with the delayed mouse buttons, but I can't really think of another way that will also work with the "problematic" games while also maintaining responsiveness... (it doesn't mean that another way does not exist, of course).
The issue with my three finger tap gesture being sometimes detected as right click, is apparently because the code does indeed think that only two fingers are down.
This could be either because I botch the gesture by doing it too quickly, or there's some issue in our code on the java side (not in events.cpp this time) for multi-gestures, ie. MultitouchHelper.java.
If it persists (or another user reports the same) I could have a look in the java code.