Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TouchScreenGUIDemo
Diff: TouchScreenEventSource.cpp
- 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