View Full Version : Keyboard Help
06-15-2001, 03:42 PM
I have GLUT, and I like GLUT except for the fact its keyboard routines are CRAP. You can only read a single key press at a time. Now, is there a way I can read more than 1 keypress at a time with DirectInput or something similar but still keep the rest of my GLUT structure (initialisation).
06-15-2001, 04:10 PM
Try Nehe's Tutorials - Lesson 23 (http://nehe.gamedev.net/tutorials/lesson23.asp) .
Or send me an email: Dev@Geniuz.de (please try nehe first)
06-17-2001, 11:24 AM
Yeah, I've also been very unimpressed with
glut's keyboard handling (not being able
to chord keypresses). Is there a particular reason why this can't be done (if it actually is complete impossible, I don't know)? The source is available for many implementations (mesa's)...
GLUT can detect both if a key is pressed and then it is released so it is not hard to handle multiple keys. Save the states in some variables.
06-18-2001, 04:28 PM
Thanks! That is exactly what I needed to know! I can see why by default it wont read more than a single key press at a time...
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.