Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
GenericTouchSwipeDetector.cpp File Reference
#include "GenericTouchSwipeDetector.h"
#include <math.h>
#include <stdlib.h>

Macros

#define _USE_MATH_DEFINES
 
#define SWIPE_MAX_TIME   500000000
 
#define SWIPE_MIN_DISTANCE   0.5f
 
#define SWIPE_MAX_VARIANCE   0.2f
 
#define SWIPE_MAX_VARIANCE_ANGLE   0.36397023f
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

◆ SWIPE_MAX_TIME

#define SWIPE_MAX_TIME   500000000

◆ SWIPE_MAX_VARIANCE

#define SWIPE_MAX_VARIANCE   0.2f

◆ SWIPE_MAX_VARIANCE_ANGLE

#define SWIPE_MAX_VARIANCE_ANGLE   0.36397023f

◆ SWIPE_MIN_DISTANCE

#define SWIPE_MIN_DISTANCE   0.5f