Jump to content
  • Advertisement
Sign in to follow this  
Halsafar

OpenGL OpenGL UserInput

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

So far I've used SDL's KEYDOWN and KEYUP methods to get some feel into the user input. However I'd prefer a way more close to DirectInput. Does OpenGL support any such methods alone? GLU maybe? Is SDL my only choice for cross-platform user input? Any insight into the subject would be great.

Share this post


Link to post
Share on other sites
Advertisement
OpenGL has no input functions; it's just a graphics library. You can try GLFW instead of SDL if you wish.

Share this post


Link to post
Share on other sites
I'll second SiCrane's GLFW suggestion, though.

Wonderful, functional, and small.

Link here.

SDL works as well, but it always seems a little too much for me when choosing a wrapper so, until further notice, I'll stick with GLFW for future projects.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!