GLUT - Shift key?

Hi,
Is there any way of getting if the Shift key (e.g. Shift + Up) is pressed via GLUT (on SGI)?
If not is there an easy way to modify GLUT’s source code to make it do so ?
Thanks in advance,
Stratos

you can use glutGetModifiers ( void ); to get the modifier key state when callbacks were generated (keyboard, mouse)

the return values are:
GLUT_ACTIVE_SHIFT
GLUT_ACTIVE_CTRL
GLUT_ACTIVE_ALT

this is take from the GLUT documentation