Loading...
Searching...
No Matches
touch_dev_gesture_ctx_t Struct Reference

Context information for a touch device needed for gesture recognition. More...

Detailed Description

Context information for a touch device needed for gesture recognition.

Definition at line 214 of file touch_dev_gestures.h.

#include <touch_dev_gestures.h>

Data Fields

touch_dev_tdev
 Pointer to the touch device.
 
uint32_t t_changed
 Time of last state change in ms.
 
uint32_t t_prev_tap
 Time of previous tap.
 
touch_t prev [TOUCH_DEV_TOUCHES_MAX_NUMOF]
 Previous set of touches.
 
uint8_t prev_num
 Previous number of touches.
 
touch_dev_state_t state
 State of touch device.
 

Field Documentation

◆ dev

touch_dev_t* touch_dev_gesture_ctx_t::dev

Pointer to the touch device.

Definition at line 215 of file touch_dev_gestures.h.

◆ prev

touch_t touch_dev_gesture_ctx_t::prev[TOUCH_DEV_TOUCHES_MAX_NUMOF]

Previous set of touches.

Definition at line 218 of file touch_dev_gestures.h.

◆ prev_num

uint8_t touch_dev_gesture_ctx_t::prev_num

Previous number of touches.

Definition at line 219 of file touch_dev_gestures.h.

◆ state

touch_dev_state_t touch_dev_gesture_ctx_t::state

State of touch device.

Definition at line 220 of file touch_dev_gestures.h.

◆ t_changed

uint32_t touch_dev_gesture_ctx_t::t_changed

Time of last state change in ms.

Definition at line 216 of file touch_dev_gestures.h.

◆ t_prev_tap

uint32_t touch_dev_gesture_ctx_t::t_prev_tap

Time of previous tap.

Definition at line 217 of file touch_dev_gestures.h.


The documentation for this struct was generated from the following file: