Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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: 644

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: 2468

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: 644

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