View Full Version : Keys in GLUT
12-15-2002, 03:36 AM
Is there a way to set flags for keys if they are pressed
or released using GLUT??
If so - how to start with it ,
If no - how to achive it under Linux (or without using windows specific functions)?
12-15-2002, 09:31 PM
There was some sort of glutKeyReleaseFunc & glutKeyDown funcs, dont remember exactly, but that's what I allways use http://www.opengl.org/discussion_boards/ubb/smile.gif Check glut.h http://www.opengl.org/discussion_boards/ubb/biggrin.gif
12-16-2002, 11:07 AM
Well, there are callback functions in GLUT, so I suppose you can set bits in variables in some of these functions, for later use (say in your render loop or something). Me personally, I wouldnt use GLUT because it's dated.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.