Skip to main content
gamedev.net
🔒 Locked

OpenGL UserInput

Started by Halsafar 3 replies 1k views
Original Post
Halsafar
Halsafar
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.
SiCrane
SiCrane
OpenGL has no input functions; it's just a graphics library. You can try GLFW instead of SDL if you wish.
Halsafar
Halsafar
No extensions?
Nothing?...

Oh well, I'll made due with SDL then, if its mouse input is decent then I'll be okay...
Boku San
Boku San
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.
Things change.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.