Thread: [Waba-spec] Events
Status: Abandoned
Brought to you by:
bornet
From: Sean L. <se...@cs...> - 2001-11-29 19:36:10
|
On the Palm or WinCE, is it possible to have key events or timer events occur between pen up and pen down events? As in: ... DOWN DRAG DRAG DRAG KEY KEY DRAG TIMER DRAG DRAG UP ... On the Newton this isn't possible, because drag events are actually handled by polling the system for drags until you get a response. The reason I ask this is that if the user just holds down the pen on Waba for the Newton, without moving it, the whole system goes into a wait loop until he moves or lets up; having games freeze isn't very fun. So I was thinking of proposing either: - extend the definition of "penDragged" to assume that if the user doesn't drag the pen within some N milliseconds of the previous event handling, that another penDragged will get called with the same coordinates -- will this break any apps you are aware of? - add a "penStillDown" event that's called every N milliseconds the pen is down. I prefer the former; it's cleaner. Sean |
From: Guilherme C. H. <gu...@us...> - 2001-11-29 19:46:25
|
> On the Newton this isn't possible, because drag events are actually > handled by polling the system for drags until you get a response. Uff! In the palm either. If the user presses in the grafitti area, the hole system is locked until he releases it. Thats why games are handled by the hard keys: pg up, pg down, etc. regards guich |