Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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