mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 03:25:28 +00:00
[Win] Query WinMM joysticks on devicechange event
This commit is contained in:
parent
2d110728aa
commit
45df508f8f
|
@ -125,6 +125,7 @@ namespace OpenTK.Platform.Windows
|
|||
case WindowMessage.DEVICECHANGE:
|
||||
((WinRawKeyboard)KeyboardDriver).RefreshDevices();
|
||||
((WinRawMouse)MouseDriver).RefreshDevices();
|
||||
((WinMMJoystick)JoystickDriver).RefreshDevices();
|
||||
break;
|
||||
}
|
||||
return base.WindowProcedure(handle, message, wParam, lParam);
|
||||
|
|
Loading…
Reference in a new issue