Handheld Terminal Software
User's Manual, version: 3.1 / material no.: 57448 55
© KEBA 2006
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.
KtpGetJoystickPosEx
Declaration
UINT8 KtpGetJoystickPosEx(/*[out]*/int *posX, int *posY,
int *posZ);
Description
Gets the current joystick position.
Arguments
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.
KtpGetJoystickPosRaw
Declaration
UINT8 KtpGetJoystickPosRaw (/*[out]*/TktpJoystickPosRaw
*p_jPos);
Description
Gets the actual raw data of the joystick.
Arguments
-
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.