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

Best API for input nowadays?

Started by Muzzy A Apr 25, 2013 at 2:43 PM 1 replies 2.1k views
Original Post
Muzzy A
Muzzy A

I'm getting ready to set up some input, and I'm curious of what might be the best thing to use.

  • Direct Input - Out dated right?
  • Regular old Windows messages raw input?

I want to have full support on multiple controllers,keyboards, and mice. So really what would be a good API to work with?

Dave Hunt
Dave Hunt

I would recommend Windows Messages for keyboard and mouse. For controllers, it depends on your target. If you are targeting the Windows Store, XInput is your only choice there. It gives you support for XBox 360 controllers. If you want to support legacy DirectInput controllers and don't want to target Windows Store, then DirectInput (or a combination of XInput and DirectInput) is an option.

Muzzy A
Muzzy A

Hey thanks for your input. I'll have to do a search on XInput and check it out

Topic Locked

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

Sign in to reply to this topic.