PDA

View Full Version : UP and DOWN???



TolTol
11-13-2002, 11:14 AM
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 http://www.opengl.org/discussion_boards/ubb/wink.gif

Claude
11-13-2002, 12:51 PM
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