View Full Version : two questions...
jono_123
05-20-2002, 07:37 PM
hi there
1st Question :
im using GLUT and im using glutKeyboardFunc to see if a key is pressed but i need to know when a key is unpressed what would be the easyest to do this?
Question 2: i need to have joystick input for my program and i have no idea where to start
thanx in advance http://www.opengl.org/discussion_boards/ubb/smile.gif
jono
jmathies
05-20-2002, 08:46 PM
What platform are you working on?
The simplest solution is to switch to a different windowing framework. There are a number of useful libraries which support various different functionalities and platforms.
Regards,
Jim
Originally posted by jono_123:
hi there
1st Question :
im using GLUT and im using glutKeyboardFunc to see if a key is pressed but i need to know when a key is unpressed what would be the easyest to do this?
Question 2: i need to have joystick input for my program and i have no idea where to start
thanx in advance http://www.opengl.org/discussion_boards/ubb/smile.gif
jono
jono_123
05-21-2002, 07:58 PM
i programing in windows
where can i find these librarys from?
and which of my questions where you answering?
jmathies
05-22-2002, 11:33 AM
Both questions.
Cpw (http://www.mathies.com/cpw/)
GLFW (http://hem.passagen.se/opengl/glfw/)
FreeGLUT (http://freeglut.sourceforge.net/)
FLTK (http://www.fltk.org/)
Or check the opengl.org listings for Frameworks (http://www.opengl.org/users/apps_hardware/applications/devtools.html) .
My personal favorite is Cpw, but hey, I wrote that library. It supports everything your looking for. The code is free and well commented so if your looking for good example code it's a good place to start as well.
Regards,
Jim
[This message has been edited by jmathies (edited 05-22-2002).]
jono_123
05-24-2002, 12:40 AM
thanx for that http://www.opengl.org/discussion_boards/ubb/smile.gif
i got it under control now
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.