Jump to content

  • Log In with Google      Sign In   
  • Create Account

Best API for input nowadays?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Muzzy A   Members   -  Reputation: 701

Like
0Likes
Like

Posted 25 April 2013 - 08:43 AM

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?



Sponsor:

#2 Dave Hunt   Crossbones+   -  Reputation: 2475

Like
2Likes
Like

Posted 25 April 2013 - 09:04 AM

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.



#3 Muzzy A   Members   -  Reputation: 701

Like
0Likes
Like

Posted 25 April 2013 - 11:18 AM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS