Files
ppsspp/Windows/TouchInputHandler.h
T
Peter Tissen b991d49049 Add Windows touch support
This is disabled by default

break out WindowsTouchHandler into a seperate Class ,  that file is way too big anyway
2014-01-22 21:25:49 +01:00

20 lines
366 B
C++

#pragma once
#include <map>
class TouchInputHandler
{
public:
TouchInputHandler();
void handleTouchEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
~TouchInputHandler();
private:
std::map<int, int> touchTranslate;
void touchUp(int id, float x, float y);
void touchDown(int id, float x, float y);
void touchMove(int id, float x, float y);
};