I use glut
fuction glutKeyboardFunc to register a
call back funtion to get some key event.
but this funtion seems can only the one char
when some key is pressed
and if I want to know some key is in KEY_DOWN state or KEY_UP state, what can I do?
Thanks



