Re: Tap and hold

Eggert Ehmke <[email protected]> Sun, 8 Dec 2002 18:39:06 +0100
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
On Sunday 08 December 2002 17:12, Konrad Hinsen wrote:
> I would like to implement tap-and-hold actions, as they are used in
> many of the built-in applications. Is there some predefined event for
> this, or do I have to use a timer plus mouse button event? I can't find
> anything about that in the developer documentation.

There is a QPEApplication::setStylusOperation method that is supposed to 
enable the RightOnHold feature. However, I did not manage to make it work, 
and others have reported problems too. So look into the QPEApplication docs 
and try it. If you succeed, let us know. In the meantime, I have implemented 
the timer plus mouse button workaround.

Eggert

-- 

Eggert Ehmke
Schuckertplatz 8
13629 Berlin

mailto:[email protected]
Phone: 030-382 6093
Mobile: +49 173-917 8254


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf