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:

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