Results 1 to 2 of 2

Thread: UP and DOWN???

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Location
    Ireland
    Posts
    19

    UP and DOWN???

    Hello,

    I'm using glutKeyboardFunc() to move the camera around in an OpenGl program. The problem is that the function is'nt called when I press the "Up" and "Down" keys. Its working with all the alphabetic characters. Any ideas as why this is would be appreciated.

    Thanks

  2. #2
    Member Newbie
    Join Date
    Nov 2002
    Posts
    39

    Re: UP and DOWN???

    Hi

    glutSpecialFunc is what you're looking for,
    I think.
    It sets the special keyboard callback for a window:F1....F12,up,down ,etc.

    Hope it helps.

    Bye Claude

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