Moved hardware related handling to dlls/winmm/joystick driver. Got rid of joySendMessages() hack (now implementation with a timer).