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;