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
|
void
|
||||||
FGInput::_update_joystick (double dt)
|
FGInput::_update_joystick (double dt)
|
||||||
{
|
{
|
||||||
int modifiers = KEYMOD_NONE; // FIXME: any way to get the real ones?
|
int modifiers = fgGetKeyModifiers();
|
||||||
int buttons;
|
int buttons;
|
||||||
// float js_val, diff;
|
|
||||||
float axis_values[MAX_JOYSTICK_AXES];
|
float axis_values[MAX_JOYSTICK_AXES];
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Add table
Reference in a new issue