[ scummvm-Patches-3104277 ] ANDROID: Alternative Touchscreen Mouse

SourceForge.net noreply at sourceforge.net
Sat Nov 6 19:11:08 CET 2010


Patches item #3104277, was opened at 2010-11-06 18:11
Message generated for change (Tracker Item Submitted) made by mcnicholls
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=3104277&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Nicholls (mcnicholls)
Assigned to: Nobody/Anonymous (nobody)
Summary: ANDROID: Alternative Touchscreen Mouse

Initial Comment:
I have added an alternative mouse implementation that handles right click with a long press.

This implementation will:

On a touch down event send no ScummVM event on.
Any touch move events will send a ScummVM mouse move.
A touch up will send a left button down ScummVM event followed by a left button up ScummVM event.
If you have touched the screen for longer than a second and don't move it too much then it will perform haptic feedback to let you know it will perform a right click when you release the touch.

This implementation can be triggered from the menu key, which now presents an Android menu as well as showing the ScummVM menu.
This Android menu allows you to switch between the current and alternative behaviour.

This implementation may not be a correct fit for all engines, but can serve as a starting point to find something that works.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=3104277&group_id=37116




More information about the Scummvm-tracker mailing list