Header Ads Widget

[MAN] SDL_EnableKeyRepeat

Content-type: text/html; charset=UTF-8 Man page of SDL_EnableKeyRepeat

SDL_EnableKeyRepeat

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 22:59
Index Return to Main Contents
 

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

This document was created by man2html, using the manual pages.
Time: 04:45:37 GMT, September 16, 2022

댓글 쓰기

0 댓글