The up and down arrows are defined by the Page-Up and Page-Down keys. As for 
left right and select, they're actually maintained in a header file outside of 
the original Palm SDK. It took me forever to find the information, but here it 
is. After much-o testing, these work the best across most platforms:

#define keyBitNavLeft            0x01000000    /**< Key state mask to check the 
five way navigation LEFT button. */
#define keyBitNavRight            0x02000000    /**< Key state mask to check 
the five way navigation RIGHT button. */
#define keyBitNavSelect            0x04000000    /**< Key state mask to check 
the five way navigation SELECT button. */

----- Original Message ----
From: Jeremy Swanson <[EMAIL PROTECTED]>
To: Palm Developer Forum <[email protected]>
Sent: Wednesday, July 25, 2007 1:00:28 AM
Subject: Input.h header

The input.h header file defines key masks for the four app buttons, page_up, 
page_down, and all.  Is there anywhere that defines masks for the directional 
buttons and the select button in the middle of an OS5 palm?
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/




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

Reply via email to