EasyManua.ls Logo

Keba KeTop T50VGA - Page 58

Keba KeTop T50VGA
165 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software KeTop T50VGA
58 User's Manual, Version: 1.3
© KEBA 2007
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.
KtpGetJoystickPosRawEx
Declaration
UINT8 KtpGetJoystickPosEx(/*[out]*/UINT16 *posX, UINT16
*posY, UINT16 *posZ);
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.
KtpSetJoystickCalibData
Declaration
UINT8 KtpSetJoystickCalibData(/*in*/TKtpJoystickChannel ch
UINT16 rawMin, UINT16 rawCenter , UINT16 rawMax, UINT16
calibRange);
Description
Calibrates the axis of the joystick.
Arguments
TktpJoystickChannel ch: channel to be calibrated.
UINT16 rawMin: value for smallest raw value
UINT16 ramCenter: average value for raw data
UINT16 rawMax: maximum value of raw data
UINT16 calibRange: maximum range of joystick
Remarks
This function may only be called if a joystick is installed on the device.
If no joystick is installed, the value of the components are undefined.
KtpGetOverridePoti
Declaration
UINT8 KtpGetOverridePoti(/*out*/UINT8 *p_pos);
Description
Gets the current value of the override potentiometers.
Arguments
Pointer to the variable containing the current value of the override po-
tentiometer.
Remarks
This function may only be called if a override potentiometer is installed
on the device. If no override potentiometer is installed, the value of the
components are undefined.

Table of Contents

Related product manuals