NavDirectionPressed works great for the TC but NavDirectionPressed( event, Up ) and NavDirectionPressed( event, Down ) don't work for the T5.
This DOES work on both: if( NavDirectionPressed( event, Up ) || event->data.keyUp.chr == vchrPageUp ) if( NavDirectionPressed( event, Down ) || event->data.keyUp.chr == vchrPageDown ) Something else strange... When I hit the select key, I get 2 key down events. IsFiveWayNavEvent only works on the second one. What's up with that? "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > oops... I meant NavDirectionPressed -- the HS and Palm macros are scheme > specific, while the generic form ends up calling both. > > At 06:23 PM 8/31/2005, Jim McGowen wrote: >>NavDirectionHSPressed(eventP, nav) doesn't work at all on the Tungsten C. >>NavDirectionHSPressed(eventP, Up) and NavDirectionHSPressed(eventP, Down) >>don't work on the T5. >> >>Just to be sure I'm using the right header here's the macro: >>#define NavDirectionHSPressed(eventP, nav) >>\ >>( >>\ >> ((vchrRocker ## nav) != vchrRockerCenter) >>\ >> && ( ( (((eventP)->data.keyDown.modifiers & commandKeyMask) != >> 0) >>\ >> && ((eventP)->data.keyDown.chr == (vchrRocker ## nav)))) >>\ >>) > > > -- Ben Combee, Senior Software Engineer, Palm, Inc. > "Combee on Palm OS" weblog: http://palmos.combee.net/ > Developer Forum Archives: http://news.palmos.com/read/all_forums/ > > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/