SDL_JoyButtonEvent.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_JoyButtonEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_JoyButtonEvent- Joystick button event structure
- .SH "STRUCTURE DEFINITION"
- .PP
- .nf
- f(CWtypedef struct{
- Uint8 type;
- Uint8 which;
- Uint8 button;
- Uint8 state;
- } SDL_JoyButtonEvent;fR
- .fi
- .PP
- .SH "STRUCTURE DATA"
- .TP 20
- fBtypefR
- fBSDL_JOYBUTTONDOWNfP or fBSDL_JOYBUTTONUPfP
- .TP 20
- fBwhichfR
- Joystick device index
- .TP 20
- fBbuttonfR
- Joystick button index
- .TP 20
- fBstatefR
- fBSDL_PRESSEDfP or fBSDL_RELEASEDfP
- .SH "DESCRIPTION"
- .PP
- fBSDL_JoyButtonEventfR is a member of the fIfBSDL_EventfRfR union and is used when an event of type fBSDL_JOYBUTTONDOWNfP or fBSDL_JOYBUTTONUPfP is reported&.
- .PP
- A fBSDL_JOYBUTTONDOWNfP or fBSDL_JOYBUTTONUPfP event occurs when ever a user presses or releases a button on a joystick&. The field fBwhichfR is the index of the joystick that reported the event and fBbuttonfR is the index of the button (for a more detailed explaination see the fIJoystick sectionfR)&. fBstatefR is the current state or the button which is either fBSDL_PRESSEDfP or fBSDL_RELEASEDfP&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_EventfRfR, fIJoystick FunctionsfR, fIfBSDL_JoystickEventStatefPfR, fIfBSDL_JoystickGetButtonfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59