BIOS Reference - KEYPAD Functions

From NanoComputerWiki

Jump to: navigation, search

KEYPAD Module Functions

NanoComputer BIOS Reference

KEYPAD Module

Note: This information may be out of date. For the latest information always check the header files shipped with the NanoComputer SDK.

Last update: Oct 31 2008

// --------------------------------------------------
//	Defines
// --------------------------------------------------
	#define KEYPAD_VOL_DOWN  0
	#define KEYPAD_VOL_UP    1
	#define KEYPAD_MENU      2 
	#define KEYPAD_NEXT      3 
	#define KEYPAD_PREV      4
	#define KEYPAD_PLAY      5


// --------------------------------------------------
//	Function Prototypes
// --------------------------------------------------
	/**
	 * Returns the state of a key on the keypad
	 *
	 *	KeyID - [in] The ID of the key to check
	 *
	 *	Returns Non-Zero if the key is pressed.
	 **/
	char KEYPAD_IsPressed(unsigned char KeyID);

Navigation

Click on any of the links below to navigate to a new page
Personal tools