> 1). does KeyCurrentState() return the state of the 5-Way Natvigator
> Button?

For the Treo 600 we used the following key bits/vchrs for the 5-way
rocker:

#define vchrRockerUp            0x0132
#define vchrRockerDown          0x0133
#define vchrRockerLeft          0x0134
#define vchrRockerRight         0x0135
#define vchrRockerCenter        0x0136

#define keyBitRockerUp          0x00010000  
#define keyBitRockerDown        0x00020000
#define keyBitRockerLeft        0x00040000  
#define keyBitRockerRight       0x00080000
#define keyBitRockerCenter      0x00100000

We worked with PalmSource on these, so this should be the standard in
the future. I believe (but don't know for sure) that the Tungsten
doesn't use these because it was done before these were defined so they
had to make up something of their own in order to complete the product.


> 2). How can I simulate pressing the 5-Way nativgator button in the
> simulator? I can't find anything about it in the doc.

The Treo 600 simulator inherited Up/Down/Left/Right arrows and "Clear"
(in the numeric keypad) from PalmSource to simulate the 5-way rocker.
I'd suspect that other simulators do the same. We also added "Home" to
our version for rocker-center.

/TomB

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to