diff --git a/Source/OpenTK/Platform/Windows/WinRawJoystick.cs b/Source/OpenTK/Platform/Windows/WinRawJoystick.cs index 787ffde4..67561bdd 100644 --- a/Source/OpenTK/Platform/Windows/WinRawJoystick.cs +++ b/Source/OpenTK/Platform/Windows/WinRawJoystick.cs @@ -259,6 +259,10 @@ namespace OpenTK.Platform.Windows return true; } + #endregion + + #region Private Members + static bool GetPreparsedData(IntPtr handle, ref byte[] prepared_data) { // Query the size of the _HIDP_PREPARSED_DATA structure for this event. @@ -508,10 +512,6 @@ namespace OpenTK.Platform.Windows } } - #endregion - - #region Private Members - Device GetDevice(IntPtr handle) { bool is_device_known = false;