summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-09 21:16:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-09 21:17:31 +0300
commitaab80ddc8f56d6a383182ce5c241e9d94ca27bab (patch)
tree9e81b97354b666820ab6e2bb9575dc1127a486a8 /src/inputmanager.h
parent0af9ff98876426c096d2b4b8a4f17172af92b8d0 (diff)
downloadmv-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.gz
mv-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.bz2
mv-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.tar.xz
mv-aab80ddc8f56d6a383182ce5c241e9d94ca27bab.zip
Add ability to auto repeat some keys presses.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 82e5fd5b7..de5003a3b 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -135,12 +135,15 @@ class InputManager
{ return mNewKeyIndex; }
void updateKeyActionMap(KeyToActionMap &actionMap,
- KeyToIdMap &idMap, int type);
+ KeyToIdMap &idMap, KeyTimeMap &keyTimeMap,
+ int type);
bool invokeKey(const KeyData *key, int keyNum);
bool handleAssignKey(const SDL_Event &event, int type);
+ void handleRepeat();
+
bool triggerAction(const KeysVector *ptrs);
int getKeyIndex(int value, int grp, int type) const;