Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Examples

jnicholl edited this page Dec 23, 2011 · 3 revisions
  1. Single touch screen control, used for a simple mouse interface.

<emulation version="1">
<touchscreen x="0" y="0" width="1024" height="600"/>
</emulation>
  1. Example of dpad control.

<emulation version="1">
<dpad x="0" y="400" width="200" height="200"/>
</emulation>
  1. More complicated touch area control, with customized mouse buttons and labels.

<emulation version="1">
<toucharea x="224" y="0" width="800" height="600" image="touch_dark.png" tapSensitive="1"/>
<mousebutton x="0" y="0" width="200" height="100" mask="1" button="left" image="sclick_dark.png">
<label x="0" y="80" width="200" height="20" image="sclick.png"/>
</mousebutton>
<mousebutton x="0" y="100" width="200" height="200" mask="0" button="right" image="rclick_dark.png">
<label x="0" y="180" width="200" height="20" image="rclick.png"/>
</mousebutton>
<mousebutton x="0" y="300" width="200" height="200" mask="0" button="left" image="lclick_dark.png">
<label x="0" y="180" width="200" height="20" image="lclick.png"/>
</mousebutton>
<mousebutton x="0" y="500" width="200" height="100" mask="2" button="left" image="cclick_dark.png">
<label x="0" y="80" width="200" height="20" image="cclick.png"/>
</mousebutton>
</emulation>

Back to home

Clone this wiki locally