Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Joystick Programming

  1. #1
    Guest

    Joystick Programming

    Hi, I just finished programming a good part of my game engine, and I was wondering if anyone knew of a good way to add joystick support? For right now I'm using GLUT, and I'm not familiar with any GLUT_JOYSTICK anything.....

    -Thanks in advance!

  2. #2
    Guest

    Re: Joystick Programming

    Well, it all depends on what platform and language you are using. If Win32 on VC++ or something, you could try to use DirectX or standard Win32 functions.

    Basically, it's not an OpenGL thing, open GL is graphics, not IO.

    I personally use the Cygwin compilers/environment and the PLIB libraries. Nice and portable, and GPL too. The js routines work great and were fairly simple to get going, just have to follow (or should I say steal?) their example source...
    http://plib.sourceforge.net/


    -James

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •