Casio IT-2000D PDAs & Smartphones User Manual


 
160
List of Input Functions
Page Function Description
160 KEY_CheckExist Checks if the keypad driver is installed
161 KEY_Read Acquires a key code or coordinates
162 KEY_Scan Checks if a key code or coordinates are in the buffer.
163 KEY_Clear Clears the key code and coordinate buffers.
163 KEY_DisplayPad Sets the specified pad to Display or Non-display.
164 KEY_GetPadState Returns whether a keypad is being displayed and
the pad number, if displayed.
164 KEY_SetInputMode Specifies the timing of input acceptance: at pen-up
or pen-down.
165 KEY_GetInputMode Sets whether to read confirmation mode.
165 KEY_SetCoordinateMode Sets whether to accept coordinate input.
166 KEY_GetCoordinateMode Acquires the current coordinates input mode.
166 KEY_SetExtKey Registers the expansion keys.
169 KEY_DelExtKey Deletes the specified expansion keys registered.
Checking Condition of Installed Keypad Driver
Checks if the keypad driver has been installed or not.
SYNTAX
int KEY_CheckExist(void);
INPUT
None
OUTPUT
= 1 Driver resides .
= 0 Driver has not been installed.
EXAMPLE
#include "padlib.h"
int retcd;
retcd = KEY_CheckExist();