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
    Senior 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.

Similar Threads

  1. opengl bump mapping (normal mapping) problem with VBO and GLSL
    By emrekaya413 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-29-2018, 03:52 AM
  2. projective texture mapping and shadow mapping
    By phoenix_gl in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-08-2012, 08:00 PM
  3. Some Bump Mapping Questions (cube-mapping)
    By Whooster in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-14-2012, 11:55 PM
  4. glut object mapping
    By bebud in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-08-2001, 04:04 PM
  5. Texture mapping in GLUT
    By mist350 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-05-2001, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean