Handheld Terminal Software
User's Manual, Version: 1.3 57
© KEBA 2007
KtpGetContrastPercent
Declaration
UINT8 KtpSetContrastPercent(/*[out]*/UINT8 *u8_Contrast);
Description
Gets the current contrast value of the LC display in percent.
Arguments
UINT8 *u8_Contrast: contrast value 0-100%
KtpGetBacklight
Declaration
TKtpBacklightStat KtpGetBacklight(void);
Description
Gets the current status of the background lighting.
Arguments
-
KtpGetScreenSaverTimeoutMin
Declaration
UINT8 GetScreenSaverTimeOutMin(void);
Description
Gets the current timeout value of the screensaver in minutes.
Arguments
-
KtpGetScreenSaverTimeoutSec
Declaration
UINT8 GetScreenSaverTimeOutSec(void);
Description
Gets the current timeout value of the screensaver in seconds.
Arguments
-
7.4.4 Peripheral Functions
KtpJoystickIsInstalled
Declaration
UINT8 KtpJoystickIsInstalled(void);
Description
Returns the number of joystick axes. If no joystick is installed on the
device, 0 will be returned.
Arguments
-
KtpWheelIsInstalled
Declaration
UINT8 KtpWheelIsInstalled(void);
Description
Returns 1 if an handwheel is installed on the device, otherwise 0.
Arguments
-
KtpPotiIsInstalled
Declaration
UINT8 KtpPotiIsInstalled(void);
Description
Returns 1 if an override potentiometer is installed on the device,
otherwise 0.
Arguments
-
KtpGetJoystickPos
Declaration
UINT8 KtpGetJoystickPos (/*[out]*/TKtpJoystickPos *p_jPos);
Description
Gets the current joystick position.
Arguments
TKtpJoystickPos structure. Each component in the structure may only
range between -15 and 15.
Remarks
Calling this function is only allowed if a joystick is installed on the de-
vice. If no joystick is installed the values of the components are unde-
fined.