On 07-Jun-2000 [EMAIL PROTECTED] wrote:
> Has anyone worked with this pin before? Palm uses it with the snap-on modem
> but there isn't any straight API call I can find to probe it. I would like
> to use it as a general purpose input to the Palm to tell my software that
> my hardware is connected, like the modem does.
Besides all the bit stuff in my last message, you could probably just use
KeyCurrentState() (Part I page 329) and check for keyBitCradle (KeyMgr.h). I
presume the OS does some sophisticated checking to tell if the modem is
attached, since both the cradle and the modem use the same "button".
/* Chris Faherty <[EMAIL PROTECTED]> */
/* Your Stock has crashed - you must now restart your system */
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/