Search found 2 matches

by segoe
Sun Sep 13, 2009 2:18 am
Forum: Support and Development
Topic: keyboard repetition interval
Replies: 3
Views: 2830

Re: keyboard repetition interval

Thanks for the reply, i probably won't be able to use 0.6.0 though unless it supports .s3m and .mod music formats in OpenAL as SDL_Mixer does on 0.5.0.
by segoe
Sun Sep 13, 2009 1:39 am
Forum: Support and Development
Topic: keyboard repetition interval
Replies: 3
Views: 2830

keyboard repetition interval

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