View Full Version : Holding Shift Causes Other Keys to Stick [SOLVED]
09-17-2011, 11:24 PM
If I hold down shift, then press a button, that button's up function is never called, thus the key sticks. When using WASD for camera movement the shift key is sometimes pressed, and my camera just keeps going and going. Any way of fixing this?
09-18-2011, 12:20 AM
Propably that when shift is used, the ascii value changes, ie. 'w' becomes 'W'.
If you used GLFW instead of GLUT since the beginning you would not have had all these problems, by the way.
09-18-2011, 01:03 AM
Thanks! Added this and all is well:
I will check out GLFW nonetheless, I'm guessing it's another management library for OpenGL. So far Glut does everything I need except for this and an active window. But I'm working on a work around for that as well, so hopefully I'll figure something out soon.
09-18-2011, 04:48 AM
What do you mean with "an active window" ?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.