Treo 5-way is different from the PalmOne 5-way. Of course. Doing that same thing differently on every single device is part of The Zen of Palm (tm).
I do this to be safe #define IS_TREO_5WAY_UP(x) (x->eType == keyDownEvent && (x->data.keyDown.chr == vchrRockerUp || x->data.keyDown.chr == vchrPageUp))
The Treo 600 5-way is using the new PalmSource-approved key codes for the directions, and its very likely that the NAVIGATION resource support that's used to indicate the tab order of controls will be part of Palm OS in the future.
Yes, its another way, but it should be the standard going forward. Of course, as long as we need to support the past, we'll need lots of special case code.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
