SDL_JoystickEventState.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_JoystickEventState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_JoystickEventState- Enable/disable joystick event polling
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_JoystickEventStatefPfR(fBint statefR);
- .SH "DESCRIPTION"
- .PP
- This function is used to enable or disable joystick event processing&. With joystick event processing disabled you will have to update joystick states with fIfBSDL_JoystickUpdatefPfR and read the joystick information manually&. fBstatefR is either fBSDL_QUERYfP, fBSDL_ENABLEfP or fBSDL_IGNOREfP&.
- .PP
- .RS
- fBNote:
- .PP
- Joystick event handling is prefered
- .RE
- .SH "RETURN VALUE"
- .PP
- If fBstatefR is fBSDL_QUERYfP then the current state is returned, otherwise the new processing fBstatefR is returned&.
- .SH "SEE ALSO"
- .PP
- fISDL Joystick FunctionsfR, fIfBSDL_JoystickUpdatefPfR, fIfBSDL_JoyAxisEventfRfR, fIfBSDL_JoyBallEventfRfR, fIfBSDL_JoyButtonEventfRfR, fIfBSDL_JoyHatEventfRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59