[SDL] video, keyboard, mouse and network
j_post
j_post at pacbell.net
Wed Aug 21 11:22:00 PDT 2002
On Wednesday 21 August 2002 01:38 am, you wrote:
>
> - I can't set the keyboard repeat feature.
> The call
> `SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY,
> SDL_DEFAULT_REPEAT_INTERVAL);` returns no error, but does actually nothing.
> Any idea?
>
It works in my code. The defaults are 500 for delay and 30 for interval. I
Call SDL_EnableKeyRepeat with delay = 250 and interval = 50. Don't know why
this might make a difference, but you might try it.
Jeff
More information about the SDL
mailing list