Sign in to follow this  
Muzzy A

Best API for input nowadays?

Recommended Posts

Muzzy A    737

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
Dave Hunt    4872

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this