Sign in to follow this  
Shadow Raven

GLUT and Keyboard handlers

Recommended Posts

hi all a real supid question but is there someway i can tell when a key is press and released in glut for exsample if you press the down arrow but don't release it and at press the right arrow but don't release it i want the keyboard handler to set a 2 rotate values and then to reset them to 0 only when the the corresponding key is release so far i can only get it to handle each key stroke with out telling me is the key has been released. sry if this is not very clear i hope you understand what i am trying to do. thanks in advance SR

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this