touchgfx::HAL::setDragThreshold() method
@fn void HAL::setDragThreshold(uint8_t value) Configure the threshold for reporting drag events. Configure the threshold for reporting drag events. A touch input movement must exceed this value in either axis in order to report a drag. Default value is 0.
void setDragThreshold(uint8_t value); Arguments
value
New threshold value.
Notes
Use if touch controller is not completely accurate to avoid "false" drags.
Functions called by touchgfx::HAL::setDragThreshold()
touchgfx::HAL::setDragThreshold()
Data read by touchgfx::HAL::setDragThreshold()
touchgfx::HAL::setDragThreshold()