On 2005-08-31, Ben Combee <[EMAIL PROTECTED]> wrote: > 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/
I have been fighting/struggling with the 5way navigator in the various simulators in the last few days. The macros in the palmOne SDK 5.0 work for everything up to the T5. However they do not work correctly for the LifeDrive and TungstenE2 debug simulators. When select is pressed the T5 sim sends the sequence (with aprropriate modifiers) vchrHardRockerCenter (press), vchrHardRockerCenter (release), vchrRockerCenter. However the LifeDrive and E2 sims do *not* send the final vchrRockerCenter. I do not know what the real devices do. Also the NavDirectionPressed macro returns true for both key press *and* key release for the left and right keys on the LifeDrive and E2 simulators. Is this a simulator issue or a real change in the later 5.4.x Garnet versions? Any more specific information on these later devices? On all these simulators (T5, Lifedrive, E2) I am using Alt-arrow and Alt-Enter for the 5way keys. Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
