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