From 9bc662e655fe268fafb910ee8e1fd6645ed22b5d Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 24 Nov 2008 17:16:38 +0000 Subject: [PATCH] Enable support for joystick bindings. Only was supported before. --- src/Input/input.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index af71173b6..419a2ee48 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -821,9 +821,8 @@ FGInput::_update_keyboard () void FGInput::_update_joystick (double dt) { - int modifiers = KEYMOD_NONE; // FIXME: any way to get the real ones? + int modifiers = fgGetKeyModifiers(); int buttons; - // float js_val, diff; float axis_values[MAX_JOYSTICK_AXES]; int i; -- 2.39.5