PDA

View Full Version : More than 1 key held down



03-29-2002, 10:42 PM
Hello,
When I hold down a key to move around an object, it jerks for a bit then moves constantly. However, if I then press another key down it ceases all movement. I'm making a simple 2 player aracde game in GLUT and this is a major flaw, with there being two players :P

Any help greatly appreciated.

zed
03-30-2002, 04:08 PM
check the glut documentation
look for functions like so
ignorekeyreapeat()
keydown()
keyup()
also search this group, this gets discussed at least once a month