Make the Touch events more robust

This commit is contained in:
Joshua Granick
2015-08-19 16:04:57 -07:00
parent cb95b5bdfc
commit c666477b58
12 changed files with 401 additions and 177 deletions

View File

@@ -3,7 +3,6 @@
#include <hx/CFFI.h>
#include <stdint.h>
namespace lime {
@@ -29,11 +28,14 @@ namespace lime {
static void Dispatch (TouchEvent* event);
int device;
float dx;
float dy;
int id;
float pressure;
TouchEventType type;
uint32_t windowID;
double x;
double y;
float x;
float y;
};