Windows: Preliminary update for DirectInput to the new key mapping system

It's still not 100% bug free, and it's not 100% complete yet.

Comments are welcome.