summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
commita01c8632961792ba92a5c0bda8308d1260444b41 (patch)
treeec31890d3ff8c9f0b9ef94b3e96216b5bd07728f /src/input/joystick.cpp
parent5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5 (diff)
downloadplus-a01c8632961792ba92a5c0bda8308d1260444b41.tar.gz
plus-a01c8632961792ba92a5c0bda8308d1260444b41.tar.bz2
plus-a01c8632961792ba92a5c0bda8308d1260444b41.tar.xz
plus-a01c8632961792ba92a5c0bda8308d1260444b41.zip
Rename KeyFunction into InputFunction.
Diffstat (limited to 'src/input/joystick.cpp')
-rw-r--r--src/input/joystick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index 674633833..2170bdc48 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -325,8 +325,8 @@ bool Joystick::isActionActive(const int index) const
if (!validate())
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::JOYSTICK)