Lugdunum  0.1.0
Classes | Namespaces | Typedefs | Enumerations | Variables
gestureDetector.hpp File Reference
#include <vector>
#include <android/sensor.h>
#include <android/log.h>
#include <android/native_window_jni.h>
#include <android/configuration.h>
#include <android/input.h>
#include <android/keycodes.h>
#include <lug/Math/Vector.hpp>
Include dependency graph for gestureDetector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndk_helper::GestureDetector
 
class  ndk_helper::TapDetector
 
class  ndk_helper::DoubletapDetector
 
class  ndk_helper::PinchDetector
 
class  ndk_helper::DragDetector
 

Namespaces

 ndk_helper
 

Typedefs

typedef int32_t ndk_helper::GESTURE_STATE
 

Enumerations

enum  {
  ndk_helper::GESTURE_STATE_NONE = 0, ndk_helper::GESTURE_STATE_START = 1, ndk_helper::GESTURE_STATE_MOVE = 2, ndk_helper::GESTURE_STATE_END = 4,
  ndk_helper::GESTURE_STATE_ACTION = (GESTURE_STATE_START | GESTURE_STATE_END)
}
 

Variables

const int32_t ndk_helper::DOUBLE_TAP_TIMEOUT = 300 * 1000000
 
const int32_t ndk_helper::TAP_TIMEOUT = 180 * 1000000
 
const int32_t ndk_helper::DOUBLE_TAP_SLOP = 100
 
const int32_t ndk_helper::TOUCH_SLOP = 8