diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-07 23:21:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-07 23:22:37 +0300 |
commit | dfdd2555a2816af800c2e999bf45de9d8bd884a8 (patch) | |
tree | 553bfedc80e6fd0e10461e900e0de03948c4d06a /src/gui/sdlinput.h | |
parent | 4776e0efe9859d623939ffd48b95d9ca5fb8969a (diff) | |
download | manaverse-dfdd2555a2816af800c2e999bf45de9d8bd884a8.tar.gz manaverse-dfdd2555a2816af800c2e999bf45de9d8bd884a8.tar.bz2 manaverse-dfdd2555a2816af800c2e999bf45de9d8bd884a8.tar.xz manaverse-dfdd2555a2816af800c2e999bf45de9d8bd884a8.zip |
emulate right click with SDL2 by multitouch two fingers click.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r-- | src/gui/sdlinput.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |