summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-17 21:55:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-17 21:55:47 +0300
commit5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5 (patch)
tree7c55d024ca0c1e4219efaad5f6f17792771d037c /src/input/joystick.cpp
parentc11527a8c7ba7dbea4028cd2011d43aab2718a81 (diff)
downloadmanaplus-5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5.tar.gz
manaplus-5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5.tar.bz2
manaplus-5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5.tar.xz
manaplus-5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5.zip
Rename KeyItem into InputItem.
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;