09-12-2001, 10:47 AM
Hello,
I'm in trouble. I need to be able to use the glutKeyboardFunc(''') function to accept input from the keyboard while my shapes are moving across the screen. I'm using a while loop to move the shapes, and I'm doing this in the void display(void) function. When I enter a loop, my keyboard dies. It's in c. Any help would save me! I tried to look at the tutorials, but they don't answer my question. Please help!
I'm in trouble. I need to be able to use the glutKeyboardFunc(''') function to accept input from the keyboard while my shapes are moving across the screen. I'm using a while loop to move the shapes, and I'm doing this in the void display(void) function. When I enter a loop, my keyboard dies. It's in c. Any help would save me! I tried to look at the tutorials, but they don't answer my question. Please help!