Can you use a joystick to control movements of OpenGL objects, like for a game?
I am not really good at using openGL but I like the graphics it produces and I wanted to make a game, but I have no idea how to use a joystick or some kind of controller to actually move the "objects" around once I finish creating them....can anyone help with this or have some code that might help?
OpenGL has no way to do this as it is only a graphics API. Things to search for:
SDL
Direct Input
Win32 Joystick Functions
I''m not sure if GLUT has any input stuff or how robust it is, but it''s worth a look.
"If consquences dictate our course of action, it doesn''t matter what''s right, it''s only wrong if you get caught."
- Tool
SDL
Direct Input
Win32 Joystick Functions
I''m not sure if GLUT has any input stuff or how robust it is, but it''s worth a look.
"If consquences dictate our course of action, it doesn''t matter what''s right, it''s only wrong if you get caught."
- Tool
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement