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

Go to the source code of this file.

Data Structures

struct  multistroke
 Data structure for stroke gesture data. More...
 

Typedefs

typedef struct multistroke multistroke_t
 Data structure for stroke gesture data. More...
 

Functions

void init_multistroke ()
 Initialize multistroke data structures. More...
 
void recognize_multistroke (const touch_event_t *event)
 Recognize multistroke gesture. This gesture allows the number of fingers to change. More...
 
const multistroke_tget_multistroke ()
 Access array of multistroke_t of size MAX_TOUCHES. More...
 

Typedef Documentation

◆ multistroke_t

typedef struct multistroke multistroke_t

Data structure for stroke gesture data.

Function Documentation

◆ get_multistroke()

const multistroke_t* get_multistroke ( )

Access array of multistroke_t of size MAX_TOUCHES.

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

Definition at line 53 of file multistroke.c.

◆ init_multistroke()

void init_multistroke ( )

Initialize multistroke data structures.

Definition at line 9 of file multistroke.c.

◆ recognize_multistroke()

void recognize_multistroke ( const touch_event_t event)

Recognize multistroke gesture. This gesture allows the number of fingers to change.

Parameters
eventtouch event to recognize

Definition at line 37 of file multistroke.c.