alesliehughes / monoDX

Managed DirectX replacement
MIT License
5 stars 5 forks source link

Beginnings of DirectInput.Device implementation. #18

Closed madewokherd closed 6 months ago

madewokherd commented 6 months ago

For https://bugs.winehq.org/show_bug.cgi?id=56324.

I'm not happy with importing the definition of c_dfDIKeyboard, but I don't see another solution we can use while dynamically linking dinput8. Normally, delay-linking would be an option, but mingw doesn't appear to have libs for delay-linking. Another possibility would be to break monodx.dll into multiple libraries so that we only load e.g. monodx_dinput.dll when dinput is needed.