diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-09 00:29:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-09 00:29:58 +0300 |
commit | eef58035c1848a8cffbcb17373b6afbe43be1440 (patch) | |
tree | ec8ff687c1c15c6b3f8448e596f51de066a5717b /src/gui/sdlinput.h | |
parent | 1f0070646425aeb23f01d769f5b1cf071d1d3d15 (diff) | |
download | manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.gz manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.bz2 manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.tar.xz manaverse-eef58035c1848a8cffbcb17373b6afbe43be1440.zip |
Add chat command for send any gui key.
New chat command: guikey.
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 7ef0034bb..142a942aa 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -128,6 +128,9 @@ class SDLInput final void simulateMouseMove(); + void simulateKey(const int guiKey, + const InputActionT actionId); + protected: /** * Converts a mouse button from SDL to a Guichan mouse button |