csutorasa / XOutput

DirectInput to XInput wrapper
MIT License
1.15k stars 100 forks source link

Bug fix: XOutputDevice.RefreshInput() is not thread safe. #818

Open kenh6942 opened 10 months ago

kenh6942 commented 10 months ago

Originally observed issue:

Debug/conclusion process:

This does mean a DeviceState is instantiated for each call to RefreshInput() which is inefficient.

kenh6942 commented 10 months ago

Originally branched off the 3.32 tag. The forced push was to rebase on top of 3.x branch.