summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-08 02:53:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-08 03:27:51 +0300
commitad0fcc99678c13c6f6ebacead6ba2d573294163d (patch)
treed6550eb1ab13382544d7eb674b596a16c003302e /src/inputmanager.h
parent4f73caba4497344c50ea245673493941d277699f (diff)
downloadmv-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.gz
mv-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.bz2
mv-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.xz
mv-ad0fcc99678c13c6f6ebacead6ba2d573294163d.zip
Allow assign 3 keys to any action.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h5
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;