View Full Version : Key input Delay with Glut
04-25-2002, 11:13 PM
I am making a game and am using GLUT for now . If I use keys for input , there is a momentary delay between the first and second recognition of the key input . After that it is a continuos recognition . Is there any way to avoid the initial delay ? Do I have to use DirectX for good input ?
04-26-2002, 03:11 AM
Please post in the appropriate forum = OpenGL Toolkits (e.g. GLUT, CPW, GLFW, GLOW).
Anyway, try to turn off keyboard repeats and keep track of the keystate yourself (using both glutkeyup, glutkeydown).
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.