Duncan McIntyre / SimpleGUITouchScreen

Dependents:   TouchScreenGUIDemo

Revision:
0:b250e56f3514
Child:
1:6fb3545bddf7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TouchScreenEventSource.cpp	Fri Mar 25 13:48:33 2016 +0000
@@ -0,0 +1,25 @@
+#include "TouchScreenEventSource.h"
+/**
+* Implementation of TouchScreenEventSource which adds timers to detect and dispatch
+* tap and double-tap events
+**/
+
+TouchScreenEventSource::TouchScreenEventSource() : _state(State::Idle)
+{
+}
+
+void TouchScreenEventSource::setDispatcher(EventDispatcher* d) {
+    _dispatcher = d;
+}
+
+void TouchScreenEventSource::touchStartHandler(TouchPosition p)
+{
+}
+
+void TouchScreenEventSource::touchMoveHandler(TouchPosition p)
+{
+}
+
+void TouchScreenEventSource::touchEndHandler(TouchPosition p)
+{
+}
\ No newline at end of file