Duncan McIntyre / SimpleGUITouchScreen

Dependents:   TouchScreenGUIDemo

TouchScreenEventSource.cpp

Committer:
duncanFrance
Date:
2016-03-25
Revision:
0:b250e56f3514
Child:
1:6fb3545bddf7

File content as of revision 0:b250e56f3514:

#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)
{
}