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

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