SDL_EnableKeyRepeat



SDL_EnableKeyRepeat

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

NAME

SDL_EnableKeyRepeat − Set keyboard repeat rate.

SYNOPSIS

#include "SDL.h"

int SDL_EnableKeyRepeat(int delay, int interval);

DESCRIPTION

Enables 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 VALUE

Returns 0 on success and -1 on failure.



More Linux Commands

manpages/git-remote-ext.1.html
git-remote-ext(1) - Bridge smart transport to external comma
This remote helper uses the specified <command> to connect to a remote Git server. Data written to stdin of the specified <command> is assumed to be sent to a g

manpages/XSetSubwindowMode.3.html
XSetSubwindowMode(3) - GC convenience routines (Man Page)...
The XSetArcMode function sets the arc mode in the specified GC. XSetArcMode can generate BadAlloc, BadGC, and BadValue errors. The XSetSubwindowMode function se

manpages/squid_ldap_auth.8.html
squid_ldap_auth(8) - Squid LDAP authentication helper.......
This helper allows Squid to connect to a LDAP directory to validate the user name and password of Basic HTTP authentication. LDAP options are specified as param

manpages/Encode::Guess.3pm.html
Encode::Guess(3pm) - Guesses encoding from data (Man Page)
By default, it checks only ascii, utf8 and UTF-16/32 with BOM . use Encode::Guess; # ascii/utf8/BOMed UTF To use it more practically, you have to give the names

manpages/hp2xx.1.html
hp2xx(1) A HPGL converter into some vector- and raster forma
hp2xx reads HPGL ASCII source files, interprets them, and converts them into either another vector-oriented format or one of several rasterfile formats. Current

manpages/Tcl_LimitSetGranularity.3.html
Tcl_LimitSetGranularity(3) - manage and check resource limit
Tcls interpreter resource limit subsystem allows for close control over how much computation time a script may use, and is useful for cases where a program is d

manpages/Tcl_CreateMathFunc.3.html
Tcl_CreateMathFunc(3) - Define, query and enumerate math fun
Tcl allows a number of mathematical functions to be used in expressions, such as sin, cos, and hypot. These functions are represented by commands in the namespa

manpages/fgets_unlocked.3.html
fgets_unlocked(3) - nonlocking stdio functions (Man Page)...
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse

manpages/vgs.8.html
vgs(8) - report information about volume groups (Man Page)
vgs produces formatted output about volume groups. OPTIONS See lvm(8) for common options. --all List all volume groups. Equivalent to not specifying any volume

manpages/mouse-test.1.html
mouse-test(1) - a tool for determining mouse type and device
This experimental and incomplete application tries to help in detecting which protocol does your mouse speak. It is able to detect MouseMan devices, and to choo

manpages/valgrind-listener.1.html
valgrind-listener(1) listens on a socket for Valgrind commen
valgrind-listener accepts (multiple) connections from valgrind processes that use the --log-socket option on the specified port and copies the commentary it is

manpages/Tcl_FSFileSystemInfo.3.html
Tcl_FSFileSystemInfo(3) - procedures to interact with any fi
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta





We can't live, work or learn in freedom unless the software we use is free.