View Full Version : question about gluttimerfunc and glutkeyfunc

12-19-2004, 09:04 PM
hi.. i'm trying to make a game application and i use glutTimerFunc to call the display function every frame. i was wondering if there was a way to query the state of the keyboard within the timer function. if i use glutKeyboardFunc to check for keyboard updates, this is not in sync with the framerate of the game...