Make the 32'th joystick button work.
This commit is contained in:
parent
eb3f135985
commit
32159c6bce
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ void FGJoystickInput::update( double dt )
|
||||||
FGButton &b = bindings[i].buttons[j];
|
FGButton &b = bindings[i].buttons[j];
|
||||||
b.last_dt += dt;
|
b.last_dt += dt;
|
||||||
if(b.last_dt >= b.interval_sec) {
|
if(b.last_dt >= b.interval_sec) {
|
||||||
bindings[i].buttons[j].update( modifiers, (buttons & (1 << j)) > 0 );
|
bindings[i].buttons[j].update( modifiers, (buttons & (1u << j)) > 0 );
|
||||||
b.last_dt -= b.interval_sec;
|
b.last_dt -= b.interval_sec;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue