PDA

View Full Version : Glut and Key Mapping



Talon
03-23-2000, 06:27 PM
Does anyone know what the keycodes are for the arrow keys, function keys, and enter key?

Thanks.

AndersO
03-23-2000, 09:41 PM
I think you have to use another callback function than the usuall. Think its called something like glutSpecialFunc. Check for GLUT_KEY_F1 to read F1.. Cant remember arrow keys.. But hey, check out the glut.h file..

Cheers

Talon
03-23-2000, 09:55 PM
Thanks.