Copyright (C) 2000-2012 |
Manpages SDL_EnableKeyRepeatSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:59 Index Return to Main Contents NAMESDL_EnableKeyRepeat- Set keyboard repeat rate.SYNOPSIS#include "SDL.h" int SDL_EnableKeyRepeat(int delay, int interval); DESCRIPTIONEnables or disables the keyboard repeat rate. delay specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by interval. Both delay and interval are expressed in milliseconds. Setting delay to 0 disables key repeating completely. Good default values are SDL_DEFAULT_REPEAT_DELAY and SDL_DEFAULT_REPEAT_INTERVAL. RETURN VALUEReturns 0 on success and -1 on failure.
IndexThis document was created by man2html, using the manual pages. Time: 12:50:28 GMT, April 25, 2024 |