Thanks.

It seems (based on PalmDeveloperGuide_PalmOS.pdf) that the only device with Hard key 4 as power key is Treo650. All other devices have real power button wich has own bit in KeyCurrentState ().

Hynek Sladky


Christopher Stamper wrote:
You may have to check the device type first, and then use the correct bit. There should only be a few different types, like Tungsten, Zire or Treo/centro.

Just my thoughts anyhow...

On Nov 15, 2007 2:00 AM, Hynek Sladky < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,

    my app uses KeyCurrentState function.
    Is there any way how to distinguish which bit is power key?
    Eg. T|E has special power key (keyBitPower) but treo650 has fourth
    hardkey as power (keyBitHard4).
    I need to filter it out to use only 'real' hard buttons... and I don't
    know how to find which bit is 'real' power key...

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to