OpenGL and events
OpenGL and events
- Subject: OpenGL and events
- From: "R. Eranki" <email@hidden>
- Date: Sat, 21 Jul 2001 14:04:51 -0400
I have an OpenGL app, and it captures the main display, then does a bunch of
OpenGL stuff by timers every 1/100 second.
My question is:
Rather than using a standard run loop to handle events, timers to render
each frame, &c., is there any way I can make the application run in a loop
of displaying, updating the view, get events, displaying...?
How, in this custom loop, can I obtain the currect state of the keyboard,
current mouse postion, &c.?
--
"Against stupidity, the gods themselves contend in vain." (Schiller)
R. Eranki
email@hidden
parallax | macnn