SDL_!EnableKeyRepeat?
NAME SYNOPSIS DESCRIPTION RETURN VALUE
SDL_!EnableKeyRepeat?- Set keyboard repeat rate.
#include
int SDL_!EnableKeyRepeat?(int delay, int interval);
Enables or disables the keyboard repeat rate.
Setting delay to 0 disables key repeating completely. Good default values are SDL_DEFAULT_REPEAT_DELAY and SDL_DEFAULT_REPEAT_INTERVAL.
Returns 0 on success and -1 on failure.
One page links to SDL_EnableKeyRepeat(3):