You could use windows messages to handle any input. I recall that DirectInput is just a winapi wrapper so it should work quite well. You can use MMSystem to handle joystick input.

You can use this link to figure out how to use MMSystem. If i'm not mistakin. http://msdn.microsoft.com/en-us/libr...377.aspx<br />

Hope this helps.