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))))
\
)
(p.s. sorry Ben, I meant to respond to the group earlier)
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 05:26 PM 8/31/2005, Jim McGowen wrote:
>>Used to be I could just use the macros defined in PalmNavigator.h(now
>>PalmOneNavigator.h), simple as pie, but eveidently they don't work for
>>newer
>>devices like the T5 (by the way this is not decumented anyplace I could
>>find).
>
> The current palmOne SDK 5.0 download has macros that handle both the older
> Palm-specific scheme introduced on the Tungsten T, and the newer
> PalmSource 5-way system that is used on the Treo 600/650/T5/everything
> new. The IsFiveWayNavEvent(eventP), NavSelectPressed(eventP), and
> NavDirectionHSPressed(eventP, nav) macros handle both key schemes.
>
> -- 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/