From dfdd2555a2816af800c2e999bf45de9d8bd884a8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Oct 2013 23:21:38 +0300 Subject: emulate right click with SDL2 by multitouch two fingers click. --- src/gui/sdlinput.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/sdlinput.h') diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index 29f24784f..77e8ea8db 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -170,6 +170,9 @@ public: MouseInput dequeueMouseInput2() A_WARN_UNUSED; + void simulateMouseClick(const int x, const int y, + const unsigned int button); + protected: /** * Converts a mouse button from SDL to a Guichan mouse button -- cgit v1.2.3-70-g09d2