Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Glut and Key Mapping

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Posts
    19

    Glut and Key Mapping

    Does anyone know what the keycodes are for the arrow keys, function keys, and enter key?

    Thanks.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    154

    Re: Glut and Key Mapping

    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

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2000
    Posts
    19

    Re: Glut and Key Mapping

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •