1
0
Fork 0

Enable <mod-{shift,ctrl,alt,meta,super,hyper}> support for joystick

bindings. Only <mod-up> was supported before.
This commit is contained in:
mfranz 2008-11-24 17:16:38 +00:00
parent c396ba8784
commit 9bc662e655

View file

@ -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;