
Arguments
-
Remarks
Calling this function is only allowed if a joystick is installed on the device. If
no joystick is installed the values of the components are undefined.
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 device. If
no joystick is installed the values of the components are undefined.
KtpSetJoystickCalibData
Declaration
UINT8 KtpSetJoystickCalibData(/*in*/
TKtpJoystickChannel ch UINT16 rawMin, UINT16
rawCenter , UINT16 rawMax, UINT16 calibRa-
nge);
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
Calling this function is only allowed if a joystick is installed on the device. If
no joystick is installed the values 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 potenti-
ometer.
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 com-
ponents are undefined.
KtpGetOverridePotiRaw
Declaration
UINT8 KtpGetOverridePotiRaw(/*out*/UINT16
*p_pos);
Description
Gets the uncalibrated value from the override potentiometer.
Arguments
Pointer to the variable containing the current value of the override potenti-
ometer.
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 com-
ponents are undefined.
Software
KeTop T50VGA
© KEBA 2009
User's Manual V1.50
58