PalmOne appears to provide all sorts of information using bitmasks in
eventP->data.keyDown.keyCode -- indicating what was pushed, what was
pushed last, what was released, whether it's been held down for a
while before it was released, and the maiden name of the mother of the
person doing the pushing. Jeez.

You should be able to use PalmOne's NavSelectPressed(eventP) macro, if
you've got the SDK headers. Seems they've done all of the
bit-twiddling for you.


On Thu, 10 Feb 2005 19:24:27 -0500, Brandon Roberson
<[EMAIL PROTECTED]> wrote:
> Check out the PalmOne SDK - there's something about the keystate
> modifiers you have to look at as well, but I forget the details.
> http://pluggedin.palmone.com
> 
> Brandon
> 
> On Thu, 10 Feb 2005 17:15:28 -0500, geoff <[EMAIL PROTECTED]> wrote:
> > Hey,
> >
> > In my event handler I am trying to catch a 5 way nav center event. I know
> > that the chr= vchrRockerCenter. My app never seems to catch this event when
> > I try to handle it. I even let my app handle the keydown event before the
> > system does and I can't catch it. I can compile without mistakes on pods and
> > I am using a T|E. Here is the section of code:
> >
> > if(event->eType == keyDownEvent)
> > {
> >     if(event->data.keyDown.chr == vchrRockerCenter)
> >         //then I write something
> > }
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe, 
> > please see http://www.palmos.com/dev/support/forums/
> >
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please 
> see http://www.palmos.com/dev/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to