keyboard repetition interval
Posted: Sun Sep 13, 2009 1:39 am
Is there any way to set key repetition speed when a key is pressed so i can tweak controls exactly?
Something like SDL: SDL_EnableKeyRepeat(delay, interval)
Edit:
Done it with keypressed, keyreleased and timing based on game.ticks, but i suposse there should be a much cleaner method
Something like SDL: SDL_EnableKeyRepeat(delay, interval)
Edit:
Done it with keypressed, keyreleased and timing based on game.ticks, but i suposse there should be a much cleaner method