From ad0fcc99678c13c6f6ebacead6ba2d573294163d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Apr 2012 02:53:09 +0300 Subject: Allow assign 3 keys to any action. --- src/inputmanager.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inputmanager.h') 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 #include -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; -- cgit v1.2.3-60-g2f50