Jump to content

  • Log In with Google      Sign In   
  • Create Account

Can you use a joystick to control movements of OpenGL objects, like for a game?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 ju2wheels   Members   -  Reputation: 167

Like
Likes
Like

Posted 08 October 2001 - 05:12 AM

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?

Sponsor:

#2 WayfarerX   Members   -  Reputation: 130

Like
Likes
Like

Posted 08 October 2001 - 05:15 AM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS