Enable <mod-{shift,ctrl,alt,meta,super,hyper}> support for joystick
bindings. Only <mod-up> was supported before.
This commit is contained in:
parent
c396ba8784
commit
9bc662e655
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue