A few months ago DK2 suddenly became unplayable for me because the mouse got stuck in a corner (I guess after some Win10 update).

In case someone else runs into this or other input problems, try this:
https://github.com/elishacloud/dinputto8/releases

It simply translates all inputs to use DirectInput 8 which seems to have a much better implementation than the older versions.