From a01c8632961792ba92a5c0bda8308d1260444b41 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 17 Jul 2014 22:11:37 +0300 Subject: Rename KeyFunction into InputFunction. --- src/input/joystick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/joystick.cpp') 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) -- cgit v1.2.3-70-g09d2