From e7f037b0a2b967c25571787f9220491d77ce2f7d Mon Sep 17 00:00:00 2001 From: thefiddler Date: Wed, 15 Jan 2014 01:13:39 +0100 Subject: [PATCH] [OpenTK] Fixed legacy joystick hotplugging & events --- Source/OpenTK/Platform/X11/X11Joystick.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/Platform/X11/X11Joystick.cs b/Source/OpenTK/Platform/X11/X11Joystick.cs index 103bf9ce..5aaf60d3 100644 --- a/Source/OpenTK/Platform/X11/X11Joystick.cs +++ b/Source/OpenTK/Platform/X11/X11Joystick.cs @@ -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)); } } }