First shot at Windows XInput haptics.

--HG--
extra : rebase_source : 52e691a0917d173e891e67714a135373daea0ef5
Attempt to get XInput haptics building on Cygwin (or rather, avoid building).
Fixed compiler warning.
Patched to compile on Visual Studio.