Casio IT-2000D PDAs & Smartphones User Manual


 
165
Acquisition of Input Acceptance Mode
Acquires the acceptance mode currently set.
SYNTAX
int KEY_GetInputMode(void);
INPUT
None
OUTPUT
KDC_MODEDOWN(0) DOWN-acceptance (default setting)
KDC_MODEUP(1) UP-acceptance
EXAMPLE
#include "padlib.h"
int retcode;
retcode = KEY_GetInputMode();
Refer to “KEY_SetInputMode” aslo.
Setting Coordinates Input Mode
Sets whether coordinate input is accepted.
SYNTAX
int KEY_SetCoordinateMode(int mode);
INPUT
mode = Number of the displayed keypad
0 Does not input coordinates (default setting).
1 Inputs coordinates.
OUTPUT
= 0 Normal termination
= -1 Input parameter error
EXAMPLE
#include "padlib.h"
int retcode;
retcode = KEY_SetCoordinateMode(0);
KEY_GetCoordinateMode