OpenGL UserInput
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.
OpenGL has no input functions; it's just a graphics library. You can try GLFW instead of SDL if you wish.
No extensions?
Nothing?...
Oh well, I'll made due with SDL then, if its mouse input is decent then I'll be okay...
Nothing?...
Oh well, I'll made due with SDL then, if its mouse input is decent then I'll be okay...
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement