[Scummvm-devel] Touchscreen input methods
Paul Gilbert
paulfgilbert at gmail.com
Tue Apr 19 10:24:03 CEST 2011
On Tue, Apr 19, 2011 at 4:40 PM, Klaus Reimer <k at ailis.de> wrote:
> So what about a new select box in the "Misc" options tab labeled "Input
> method". Possible values:
>
> * Mouse (For using a real mouse. Can even be useful on an embedded
> device when a bluetooth mouse is connected).
> * Direct Touchscreen (Works like "Mouse" but adds some touchscreen
> specific features like long-clicks for emulating right mouse button).
> * Touchpad Touchscreen
>
This would actually work in well with a discussion I was having with
Strangerke about the Ringworld game last night - there's one arcade sequence
in the game of navigating a sunflower field. On the PC, it uses the position
of the mouse on-screen to indicate the direction to turn in. But for
PDA/Touchscreen devices it might not be as obvious that users would have to
hold the stylus on the screen to change direction, so I was thinking of
adding an enhancement that would detect if the game was running on such a
device, and add some explicit turning buttons on-screen.
Having a constant like this would make things easier - the game could detect
if the input mode is not mouse, and automatically add the buttons.
Or to use another example, Lure of the Temptress has a special define that
PDA/Touchscreen devices need to set, which alters how the action menu
scrolls. I've thought in the past that this is kind of nasty, and new
porters might not be aware of it. Being able to change this to use a common
core input method would make the code cleaner.
DreamMaster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20110419/7429c249/attachment.html>
More information about the Scummvm-devel
mailing list