TinyGPU
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
GestureDetector.h File Reference
#include <math.h>
#include <stdint.h>
#include "TinyGPU/Emulation.h"
#include "TinyGPU/Input/TouchDriver.h"
Include dependency graph for GestureDetector.h:

Go to the source code of this file.

Classes

struct  GestureEvent
 
class  GestureDetector
 Recognizes touch gestures from a stream of single-point touch samples, and reports them through a single callback. More...
 

Namespaces

namespace  tinygpu
 

Enumerations

enum class  GesturePhase : uint8_t { kBegan , kChanged , kEnded }
 
enum class  GestureType : uint8_t {
  kNone , kTap , kDoubleTap , kLongPress ,
  kSwipeLeft , kSwipeRight , kSwipeUp , kSwipeDown ,
  kDrag , kPan , kScroll , kPinchIn ,
  kPinchOut , kRotate
}
 

Functions

const char * toString (GestureType type)
 Human-readable name for a GestureType, useful for logging.