summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
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;