[CSC 315] Special Keys

Andrew J. Pounds pounds_aj at mercer.edu
Tue Dec 4 14:59:55 EST 2012


To get the value of "Special Keys" use glutSpecialFunc.

      -  GLUT_KEY_F1
       -  GLUT_KEY_F2
       -  GLUT_KEY_F3
       -  GLUT_KEY_F4
       -  GLUT_KEY_F5
       -  GLUT_KEY_F6
       -  GLUT_KEY_F7
       -  GLUT_KEY_F8
       -  GLUT_KEY_F9
       -  GLUT_KEY_F10
       -  GLUT_KEY_F11
       -  GLUT_KEY_F12
       -  GLUT_KEY_LEFT
       -  GLUT_KEY_UP
       -  GLUT_KEY_RIGHT
       -  GLUT_KEY_DOWN
       -  GLUT_KEY_PAGE_UP
       -  GLUT_KEY_PAGE_DOWN
       -  GLUT_KEY_HOME
       -  GLUT_KEY_END
       -  GLUT_KEY_INSERT

But for space, you should just do like Steve said in class...


-- 
Andrew J. Pounds, Ph.D.  (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627



More information about the csc315 mailing list