summaryrefslogtreecommitdiff
path: root/src/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.cpp')
-rw-r--r--src/joystick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/joystick.cpp b/src/joystick.cpp
index 3222c9825..694ac1526 100644
--- a/src/joystick.cpp
+++ b/src/joystick.cpp
@@ -260,7 +260,7 @@ void Joystick::getNames(std::vector <std::string> &names)
void Joystick::update()
{
- inputManager.updateKeyActionMap(mKeyToAction, INPUT_JOYSTICK);
+ inputManager.updateKeyActionMap(mKeyToAction, mKeyToId, INPUT_JOYSTICK);
}
KeysVector *Joystick::getActionVector(const SDL_Event &event)