Jump to content
  • Advertisement
Sign in to follow this  
Shadow Raven

GLUT and Keyboard handlers

This topic is 4419 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!