> hi there! > how can i handle hardware buttons > i need to handle press, hold and release actions > > thanx > Albert
The Key Manager of the Palm API manages hardware buttons on the device. It converts button presses into key events that can be used by your application. However, most applications do not call directly into the Key Manager. Instead, the Event Manager is used as the main interface. A keyDownEvent gets returned each time a button the device gets pressed. The application can intercept this event and find what key is pressed by referencing the key code that gets stored in the event record. More information on this topic can be found in the Key Manager section of the Palm OS Programmer's Companion manual of the Palm SDK documentation. -- Vinu Raj Metrowerks Developer Support -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
