summaryrefslogtreecommitdiff
path: root/src/input/keyboardconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyboardconfig.cpp')
-rw-r--r--src/input/keyboardconfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp
index a8949e84a..b989b2d30 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -190,8 +190,8 @@ bool KeyboardConfig::isActionActive(const int index) const
if (!mActiveKeys)
return false;
- const KeyFunction &key = inputManager.getKey(index);
- for (size_t i = 0; i < KeyFunctionSize; i ++)
+ const InputFunction &key = inputManager.getKey(index);
+ for (size_t i = 0; i < inputFunctionSize; i ++)
{
const InputItem &val = key.values[i];
if (val.type != InputType::KEYBOARD)