To see more JOM Software applications, click here.
Download: Get file touch_stick.py and save into your mobile phone, in already existing folder e:\Data\Python (or maybe c:\Data\Python).
Note: this file works only with PyS60 1.9.x, python for S60 runtime. You run it via Python Application Shell, as a standalone script file. Please note it works only in a device with Touch UI, for example Nokia 5800.
Make sure you install this on same disk as PyS60 runtime. I used memory card, no problems.
Touch Stick demonstrates how to use Touch UI device's screen as a virtual joystick (5-way rocker key). It is sample code for PyS60 developers.
Clicking on top horizontal blue bar works like pressing Up Arrow key, bottom horizontal bar like Down Arrow. In the middle there are three vertical bars. First bar works like Left Arrow, second bar like Enter or Return and third bar works like Right Arrow.
Press top bar and look at the dialog. Wait until it disappears and raise your finger on bottom bar. You will see a dialog telling which area you pressed first and which area you lifted your finger.
Version 1.10, release date 2009-08-31
Version 1.00, release date 2009-08-30
(C) 2009 Jouni Miettunen