From 23f87c10db7e6b149e9e1f351e1a82516c545df7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Apr 2012 02:58:23 +0300 Subject: First step for dehardcode input handling in widgets. Now widgets can check for input event. --- src/joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/joystick.cpp') 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 &names) void Joystick::update() { - inputManager.updateKeyActionMap(mKeyToAction, INPUT_JOYSTICK); + inputManager.updateKeyActionMap(mKeyToAction, mKeyToId, INPUT_JOYSTICK); } KeysVector *Joystick::getActionVector(const SDL_Event &event) -- cgit v1.2.3-60-g2f50