mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:35:30 +00:00
[OpenTK] Fixed legacy joystick hotplugging & events
This commit is contained in:
parent
df7d7ae8eb
commit
e7f037b0a2
|
@ -346,6 +346,8 @@ namespace OpenTK.Platform.X11
|
|||
js.Details.State.SetButton((JoystickButton)e.Number, e.Value != 0);
|
||||
break;
|
||||
}
|
||||
|
||||
js.Details.State.SetPacketNumber(unchecked((int)e.Time));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue