touch_qm_sensor_get_delta

touch_ret_t touch_qm_sensor_get_delta(sensor_id_t sensor_id, touch_delta_t *p_delta)

Arguments

Type

Comment

sensor_id

sensor_id_t

Sensor ID for which the delta needs to be retrieved.

p_delta

touch_delta_t*

Pointer to Delta variable, that will be update by the Touch Library

  1. 1.

    This API retrieves the delta information associated with a specific QMatrix sensor. Delta is the difference between the current signal value and reference value.

  2. 2.

    The user must provide the sensor ID whose delta is sought along with a valid pointer to a Delta variable.

  3. 3.

    The API updates the delta variable associated with the requested sensor.