Gesture Library
multidrag.h File Reference
#include "gesturelib.h"
#include "recognizer.h"
#include "stroke.h"

Go to the source code of this file.

Data Structures

struct  multidrag
 Data structure for multidrag gesture data. More...
 

Typedefs

typedef struct multidrag multidrag_t
 Data structure for multidrag gesture data. More...
 

Functions

void init_multidrag ()
 Initialize multidrag data structures. More...
 
void recognize_multidrag (const touch_event_t *event)
 Recognize multidrag gesture. This gesture locks the number of fingers once any finger starts moving. More...
 
const multidrag_tget_multidrag ()
 Access array of multidrag_t of size MAX_TOUCHES. More...
 

Typedef Documentation

◆ multidrag_t

typedef struct multidrag multidrag_t

Data structure for multidrag gesture data.

Function Documentation

◆ get_multidrag()

const multidrag_t* get_multidrag ( )

Access array of multidrag_t of size MAX_TOUCHES.

Returns
Pointer to first element of array of multidrag_t of size MAX_TOUCHES

Definition at line 53 of file multidrag.c.

◆ init_multidrag()

void init_multidrag ( )

Initialize multidrag data structures.

Definition at line 9 of file multidrag.c.

◆ recognize_multidrag()

void recognize_multidrag ( const touch_event_t event)

Recognize multidrag gesture. This gesture locks the number of fingers once any finger starts moving.

Parameters
eventtouch event to recognize

Definition at line 37 of file multidrag.c.