SDL_EnableKeyRepeat.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_EnableKeyRepeat" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_EnableKeyRepeat- Set keyboard repeat rate&.
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_EnableKeyRepeatfPfR(fBint delay, int intervalfR);
- .SH "DESCRIPTION"
- .PP
- Enables or disables the keyboard repeat rate&. fBdelayfR specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by fBintervalfR&. Both fBdelayfR and fBintervalfR are expressed in milliseconds&.
- .PP
- Setting fBdelayfR to 0 disables key repeating completely&. Good default values are fBSDL_DEFAULT_REPEAT_DELAYfP and fISDL_DEFAULT_REPEAT_INTERVALfP&.
- .SH "RETURN VALUE"
- .PP
- Returns fB0fR on success and fB-1fR on failure&.
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59