shift key detection in 007


in 0062 it was possible to determine if the shift key was being pressed by checking,

that functions doesn’t seem to be included in the the GLUT shipped with 007.

anyone know how to get shift, ctrl, alt key detection working in 007 on mac?


Using 007, I’ve had no problems using glutGetModifiers().

You just have to add

#include <GLUT/GLUT.h>  

to your project.

Not sure why this is no longer included by default.

  • a.stellato

didn’t think of that.
thx for posting.