Original Post
Is there a GLUT function for detecting when a key is held down? like when you hold down the up arrow key to go forward.
void myIdleFunc(){ if (upKeyPressed) speed += 0.06f;}glutIdleFunc(myIdleFunc);This topic has been locked by a moderator. New replies are not allowed.
GameDev.net uses cookies to ensure you have the best experience on our platform. Learn more