src/video/emscripten/SDL_emscriptenvideo.h
changeset 10266 c09f06c4e8c8
parent 9998 f67cf37e9cd4
--- a/src/video/emscripten/SDL_emscriptenvideo.h	Fri Aug 12 00:03:58 2016 -0400
+++ b/src/video/emscripten/SDL_emscriptenvideo.h	Fri Aug 12 19:59:00 2016 -0400
@@ -24,6 +24,7 @@
 #define _SDL_emscriptenvideo_h
 
 #include "../SDL_sysvideo.h"
+#include "../../events/SDL_touch_c.h"
 #include <emscripten/emscripten.h>
 #include <emscripten/html5.h>
 
@@ -45,6 +46,9 @@
     SDL_bool external_size;
 
     int requested_fullscreen_mode;
+
+    SDL_bool finger_touching;  /* for mapping touch events to mice */
+    SDL_FingerID first_finger;
 } SDL_WindowData;
 
 #endif /* _SDL_emscriptenvideo_h */