<br><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 4:40 PM, Klaus Reimer <span dir="ltr"><<a href="mailto:k@ailis.de">k@ailis.de</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So what about a new select box in the "Misc" options tab labeled "Input<br>
method". Possible values:<br>
<br>
* Mouse (For using a real mouse. Can even be useful on an embedded<br>
device when a bluetooth mouse is connected).<br>
* Direct Touchscreen (Works like "Mouse" but adds some touchscreen<br>
specific features like long-clicks for emulating right mouse button).<br>
* Touchpad Touchscreen<br></blockquote><div><br></div></div>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. <br>
<br>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.<br><br>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.<br>
<br>DreamMaster.<br>