CCAux  2.20.0.0
CCAux API reference
Functions
TouchScreenCalib functions

Functions

EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV GetTouchScreenCalib (void)
 
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV TouchScreenCalib_release (TOUCHSCREENCALIBHANDLE)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_setMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings mode)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_getMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings *mode)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_setCalibrationPoint (TOUCHSCREENCALIBHANDLE, uint8_t pointNr)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_checkCalibrationPointFinished (TOUCHSCREENCALIBHANDLE, bool *finished, uint8_t pointNr)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_getConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, uint16_t *value)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_setConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, uint16_t value)
 
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV TouchScreenCalib_autoSensorCalib (TOUCHSCREENCALIBHANDLE)
 

Detailed Description

Functions in the TouchScreenCalib class

Function Documentation

◆ GetTouchScreenCalib()

EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTouchScreenCalib ( void  )

Factory function that creates instances of the TouchScreenCalib object.

Supported Platform(s): XL, XM, XS, XA

Returns
TOUCHSCREENCALIBHANDLE to an allocated TouchScreenCalib object. The returned handle needs to be deallocated using the TouchScreenCalib_release(TOUCHSCREENCALIBHANDLE) method when it's no longer needed. Returns NULL if it fails to allocate memory.

◆ TouchScreenCalib_autoSensorCalib()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_autoSensorCalib ( TOUCHSCREENCALIBHANDLE  )

Perform automatic sensor calibration

Supported Platform(s): VA

Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_checkCalibrationPointFinished()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_checkCalibrationPointFinished ( TOUCHSCREENCALIBHANDLE  ,
bool *  finished,
uint8_t  pointNr 
)

Check if a calibration point is finished

Supported Platform(s): XL, XM, XS, XA

Parameters
finishedIs current point finished?
pointNrCalibration point number (1 to total number of points)
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_getConfigParam()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getConfigParam ( TOUCHSCREENCALIBHANDLE  ,
CalibrationConfigParam  param,
uint16_t value 
)

Get calibration config parameters

Supported Platform(s): XL, XM, XS, XA

Parameters
paramConfig parameter
valueParameter value
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_getMode()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getMode ( TOUCHSCREENCALIBHANDLE  ,
CalibrationModeSettings mode 
)

Get mode of front controller.

Supported Platform(s): XL, XM, XS, XA

Parameters
modeCurrent calibration mode
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_release()

EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_release ( TOUCHSCREENCALIBHANDLE  )

Delete the TouchScreenCalib object.

Supported Platform(s): XL, XM, XS, XA

Returns
-

◆ TouchScreenCalib_setCalibrationPoint()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setCalibrationPoint ( TOUCHSCREENCALIBHANDLE  ,
uint8_t  pointNr 
)

Set calibration point

Supported Platform(s): XL, XM, XS, XA

Parameters
pointNrCalibration point number (1 to total number of points)
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_setConfigParam()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setConfigParam ( TOUCHSCREENCALIBHANDLE  ,
CalibrationConfigParam  param,
uint16_t  value 
)

Set calibration config parameters

Supported Platform(s): XL, XM, XS, XA

Parameters
paramConfig parameter
valueparameter value
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.

◆ TouchScreenCalib_setMode()

EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setMode ( TOUCHSCREENCALIBHANDLE  ,
CalibrationModeSettings  mode 
)

Set mode of front controller.

Supported Platform(s): XL, XM, XS, XA

Parameters
modeSelected calibration mode
Returns
error status. 0 = ERR_SUCCESS, otherwise error code.