Archived

This topic is now archived and is closed to further replies.

PsyCHo puNk

Console Problems

Recommended Posts

Hey I''ve been working on a quake style console for my engine and I have one problem. When it reads keyboard input the timing is messed up making it very hard to type (ie. you hit ''a'' and you get aaaaaaa). I was wonder what the average delay time in milliseconds is between reading key presses or is there a better technique for reading keyboard input into a console?

Share this post


Link to post
Share on other sites
You could remember what key was hit last time, and not generate another character if the same letter is held down.

I think typically delays are around 200ms

)if only i could spell(

Edited by - Magmai Kai Holmlor on June 25, 2001 10:14:19 PM

Share this post


Link to post
Share on other sites