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.
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.