mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
b991d49049
This is disabled by default break out WindowsTouchHandler into a seperate Class , that file is way too big anyway
20 lines
366 B
C++
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);
|
|
|
|
};
|
|
|