GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SDL_ENABLEKEYREPEAT (3)

NAME

SDL_EnableKeyRepeat - Set keyboard repeat rate.

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


SDL SDL_ENABLEKEYREPEAT (3) Tue 11 Sep 2001, 22:59

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.