summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-07 14:47:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-07 14:47:20 +0300
commitf8fcfcfef1e5a8cbda66328664f41b3f9aa2a773 (patch)
treefce3dc2882525b56f7fb4f5219c58aad716ccda1 /src/keyboardconfig.h
parent008a29a3fbcf282d1bed8ce4a9bdfb665defd943 (diff)
downloadmanaplus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.gz
manaplus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.bz2
manaplus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.xz
manaplus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.zip
Fix key repeat time calculation.
Add configurabale auto repeat time.
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index cbadbbd33..afc8b043c 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -109,6 +109,8 @@ class KeyboardConfig final
uint8_t *mActiveKeys2; /**< Stores a list of all the keys */
+ unsigned int mRepeatTime;
+
KeyToActionMap mKeyToAction;
KeyToIdMap mKeyToId;