touch_ret_t touch_qt_get_libinfo(touch_qt_grp_t touch_qt_grp, touch_info_t *p_touch_info)
Arguments |
Type |
Comment |
---|---|---|
touch_qt_grp |
touch_qt_grp_t |
Specify if the operation is to be performed on Group A Sensors or Group B Sensors. |
p_ touch_info |
touch_info_t* |
User passes the memory address at which the library information is to be stored by the library. |
The touch_info_t structure is filled by the library with the Group specific (based on touch_qt_grp input) information like number of QTouch channels, number of QTouch sensors, number of QTouch rotors/slider, CAT hardware version, and library version.
The QTouch number of channels, sensors and rotors/slider indicate the total number of channels, sensors and rotor/slider in use irrespective of Touch measured being disabled or enabled. (Disabling and Re-enabling of a Sensor using the touch_qt_sensor_disable and touch_qt_sensor_reenable API does not alter these values).