Skip to main content
GameDev.net gamedev.net
🔒 Locked

Direct Input Replacement?

Started by EmptyVoid Oct 10, 2008 at 3:35 AM 1 replies 6.9k views
Original Post
EmptyVoid
EmptyVoid
I'm sure this has been asked before but I can't seem to find it in search, I'm looking for a replacement for Direct Input since it is deprecated. I need it to be able to receive inputs from the mouse, keyboard, gamepad and any other USB input devices you can think of. Also Cross platform is a plus.
This is your life, and it's ending one minute at a time. - Fight club
dave
dave
This should help. You can do it all with Win32 messages.

Edit: "Removed pointless 'This should help:'" XD
Sc4Freak
Sc4Freak
For mouse and keyboard, the regular old Win32 API is what you should use. For gamepads, I think XInput has replaced DInput (but that might only be for Xbox 360 controllers).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.