Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: variable key_hold_press  (Read 570 times)

qalnor

  • Bay Watcher
    • View Profile
variable key_hold_press
« on: September 02, 2006, 06:14:00 pm »

I like the flexibility this feature gives you, because some keyboards have annoying qualities which makes this helpful.

However, one suggestion I would make is that you implement a second key_hold variable which would determine the length of time for iterations of the character beyond the second.

By this I mean if you were to press the right arrow key and hold it, it would wait key_hold_press ms for the second iteration of the key, but for further iterations it would only wait key_hold_press2.

This would allow for quick scrolling, and perhaps some other things I can't think of.

Another alternative to this would be to just make the navigation keys have their own variable ie arrow_key_hold. This would only address the arrow keys, and that's all I can think of that it would be relevent for so this may be preferable.

Logged