Fix bug where last axis of the joystick was written out with the original bindings of all buttons.
This commit is contained in:
parent
e510c8917f
commit
3656ff92c6
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ var readConfig = func(dialog_root="/sim/gui/dialogs/joystick-config") {
|
|||
|
||||
if (a != nil) {
|
||||
# Read properties from bindings
|
||||
props.copy(a, p.getNode("original_binding", 1));
|
||||
props.copy(a, btn.getNode("original_binding", 1));
|
||||
var binding = nil;
|
||||
foreach (var b; joystick.buttonBindings) {
|
||||
if ((binding == nil) and (a != nil) and b.match(a)) {
|
||||
|
|
Loading…
Reference in a new issue