Sign in to follow this  

Best API for input nowadays?

This topic is 1727 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this