Archived

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

jimi345

keyboard rate

Recommended Posts

jimi345    122
I''m using allegro to build a demo and I''ve been messing with what is referred to as the keyboard rate via the keyboard_rate function. The proto type is as follows: void set_keyboard_rate(int delay, int repeat); I''ve been messing with it and have a general idea, but I"m pretty foggy on what exactly the delay argument is and what the repeat argument is. Both of the arguments are in milliseconds if that helps anyone. Jeremy

Share this post


Link to post
Share on other sites
Thunder_Hawk    314
I''d guess that delay represents how long you have to hold down a button before it repeats. Repeat probably then says how long after the initial repeat it will take before it will repeat again. Try holding down a key once. After about a half of a second (delay) it will repeat at about a tenth of a second (repeat).

______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________

Share this post


Link to post
Share on other sites