25 #include "render/graphics.h"
47 void MultiTouchManager::updateFinger(
const SDL_Event &event,
const bool active)
49 const SDL_TouchFingerEvent &touch =
event.tfinger;
57 void MultiTouchManager::handleFingerDown(
const SDL_Event &event)
59 updateFinger(event,
true);
60 const SDL_TouchFingerEvent &touch =
event.tfinger;
61 checkDevice(touch.touchId, touch.fingerId);
64 void MultiTouchManager::handleFingerUp(
const SDL_Event &event)
66 updateFinger(event,
false);
69 void MultiTouchManager::checkDevice(
const long touchId,
MultiTouchDevicesMap mEvents
MultiTouchManager multiTouchManager
std::map< int, MultiTouchEvent > MultiTouchEventsMap