[gameprogrammer] C++ and OpenGL

  • From: Azeem Zaheer <azeem_841@xxxxxxxxxxx>
  • To: Game Programming Community <gameprogrammer@xxxxxxxxxxxxx>
  • Date: Tue, 16 Nov 2010 03:51:50 +0500

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.
Thanks in advanceAzeem Zaheer
                                          

Other related posts: