SDL_JoystickGetHat.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_JoystickGetHat" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_JoystickGetHat- Get the current state of a joystick hat
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBUint8 fBSDL_JoystickGetHatfPfR(fBSDL_Joystick *joystick, int hatfR);
- .SH "DESCRIPTION"
- .PP
- SDL_JoystickGetHat returns the current state of the given fBhatfR on the given fBjoystickfR&.
- .SH "RETURN VALUE"
- .PP
- The current state is returned as a Uint8 which is defined as an OR&'d combination of one or more of the following
- .IP "" 10
- fBSDL_HAT_CENTEREDfP
- .IP "" 10
- fBSDL_HAT_UPfP
- .IP "" 10
- fBSDL_HAT_RIGHTfP
- .IP "" 10
- fBSDL_HAT_DOWNfP
- .IP "" 10
- fBSDL_HAT_LEFTfP
- .IP "" 10
- fBSDL_HAT_RIGHTUPfP
- .IP "" 10
- fBSDL_HAT_RIGHTDOWNfP
- .IP "" 10
- fBSDL_HAT_LEFTUPfP
- .IP "" 10
- fBSDL_HAT_LEFTDOWNfP
- .SH "SEE ALSO"
- .PP
- fIfBSDL_JoystickNumHatsfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00