Keyboard State

Guy Rabiller grabiller at 3dvf.net
Sat Sep 28 11:55:51 EDT 2002


Hi,

sorry if this is a trivial one, but I'm looking for a way to retrieve the 
keyboard state at anytime.

I'm using pyOpenGL and GLUT.

GLUT doesnt allow to call the glutGetModifiers() fonction outside the 
mouse, keyboard and special callbacks, but I need to get the state of the 
SHIFT and CTRL keys at anytime.

Any idea ?

Thanks in advance.

-- 
guy rabiller
3d animator / td
grabiller at 3dvf.net
http://grabiller.3dvf.net



More information about the Python-list mailing list