Software KeTop T100
56 User's Manual, version: 3.1 / material no.: 57448
© KEBA 2006
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.
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 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.
KtpGetEnablingDevice
Declaration
UINT8 KtpGetEnablingDevice(/*in*/TKtpEnablingDeviceCircuit
circuit);
Description
Circuit is the value of the enabling switch to be read out when it is
pressed completely (panic position).
Arguments
Returns the current value of the enabling switch transferred in the cir-
cuit.
Remarks
This function may only be called if a enabling switch is installed on the
device. If no enabling switch is installed, the value of the components
are undefined.