Jump to content
  • Advertisement
Sign in to follow this  

API indepedent Input library

This topic is 2975 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

Advertisement
An input library is an API. What do you mean by 'API', and what do you mean by 'input library'? Also, how do you define 'best'?

After answering those questions, the answer you'll get will probably be SDL. (Or possibly Glut)

Input is tied to the window you create, usually, so you can't truly have a "only input" library.

Share this post


Link to post
Share on other sites
Quote:
Original post by Servant of the Lord
An input library is an API. What do you mean by 'API', and what do you mean by 'input library'? Also, how do you define 'best'?

After answering those questions, the answer you'll get will probably be SDL. (Or possibly Glut)

Input is tied to the window you create, usually, so you can't truly have a "only input" library.


I mean an Input API independent from DirectX and OpenGL.
I define best as the most used, best performance, etc

I want use it in my DirectX 10 game but I dont want to use DirectInput

Share this post


Link to post
Share on other sites
You don't need to use DirectInput. Keyboard and mouse input can be done through Windows, and if you want to support Xbox 360 controllers, use XInput.

Share this post


Link to post
Share on other sites
Or take a look at Open Input Library. It's part of the Ogre system, but it can be used indipendently. We just put key repetition and an action mapping scheme on top, now it works fine for us.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!