summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/joystick.cpp')
-rw-r--r--src/input/joystick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index b7d34e6ec..674633833 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -328,7 +328,7 @@ bool Joystick::isActionActive(const int index) const
const KeyFunction &key = inputManager.getKey(index);
for (size_t i = 0; i < KeyFunctionSize; i ++)
{
- const KeyItem &val = key.values[i];
+ const InputItem &val = key.values[i];
if (val.type != InputType::JOYSTICK)
continue;
const int value = val.value;