From aab80ddc8f56d6a383182ce5c241e9d94ca27bab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 May 2012 21:16:31 +0300 Subject: Add ability to auto repeat some keys presses. --- src/inputmanager.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/inputmanager.h') 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; -- cgit v1.2.3-60-g2f50