On Tue, 16 Nov 2010 03:51:50 +0500, Azeem Zaheer <azeem_841@xxxxxxxxxxx> wrote:
Hi everybody, I am working on a small 2D game in openGL. i have been trying for a few hours now, but i am unable to figure out a way to input a keystroke. 1)I want to do it without using GLUT. 2)i do not want the screen to get stuck until a user presses a key.i want it to keep drawing and looking for a key stroke in every loop, but not to wait for it.
For platform independence, I think SDL is the way to go here? Otherwise, what platform are you targeting?
-- Matthew Weigel hacker unique & idempot . ent --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html