Accessing joystick (with GLUT)

Started by
2 comments, last by zedzeek 19 years, 3 months ago
hi... How can I access the joystick with opengl? I know that are the functions glutForceJoystickFunc() and glutJoystickFunc(), but I don't know how it works. Can somebody give me an example or a suggestion? thanks Renato Ele.Eng. [Edited by - benjamin bunny on January 16, 2005 7:24:32 PM]
Advertisement
2 things:
1. OpenGL is a graphics library. It doesn't do input, it just rasterises triangles. (just like it says in the Forum FAQ, BTW)

2. GLUT != OpenGL. GLUT is a library that can be used with OpenGL; however it is not part of the GL.

Since this is a GLUT question I'm going to leave it here, but I've edited your title.

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

thanks...
Can somebody help me?
u might wanna loom at www.libsdl.org its another library like glut that handles joysticks

This topic is closed to new replies.

Advertisement