diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-08 02:53:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-08 03:27:51 +0300 |
commit | ad0fcc99678c13c6f6ebacead6ba2d573294163d (patch) | |
tree | d6550eb1ab13382544d7eb674b596a16c003302e /src/inputmanager.h | |
parent | 4f73caba4497344c50ea245673493941d277699f (diff) | |
download | manaplus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.gz manaplus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.bz2 manaplus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.xz manaplus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.zip |
Allow assign 3 keys to any action.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h index 7a6ac6d05..635e27a33 100644 --- a/src/inputmanager.h +++ b/src/inputmanager.h @@ -26,7 +26,8 @@ #include <string> #include <map> -struct KeyFunction; +struct KeyData; +//struct KeyFunction; enum KeyCondition { @@ -56,7 +57,7 @@ class InputManager int getInputConditionMask(); - bool checkKey(KeyFunction *key, int mask); + bool checkKey(const KeyData *key, int mask); }; extern InputManager inputManager; |