summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
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/defaults.cpp
parent008a29a3fbcf282d1bed8ce4a9bdfb665defd943 (diff)
downloadplus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.gz
plus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.bz2
plus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.tar.xz
plus-f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773.zip
Fix key repeat time calculation.
Add configurabale auto repeat time.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 7c56d8ccf..57d7c1988 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -273,6 +273,7 @@ DefaultsData* getConfigDefaults()
AddDEF("audioChannels", 2);
AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY);
AddDEF("repeateInterval", SDL_DEFAULT_REPEAT_INTERVAL);
+ AddDEF("repeateInterval2", SDL_DEFAULT_REPEAT_DELAY);
AddDEF("compresstextures", 0);
AddDEF("rectangulartextures", true);
AddDEF("networksleep", 0);