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/