Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_JoyButtonEvent(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!JoyButtonEvent !!!SDL_!JoyButtonEvent NAME STRUCTURE DEFINITION STRUCTURE DATA DESCRIPTION SEE ALSO ---- !!NAME SDL_!JoyButtonEvent- Joystick button event structure !!STRUCTURE DEFINITION typedef struct{ Uint8 type; Uint8 which; Uint8 button; Uint8 state; } SDL_!JoyButtonEvent; !!STRUCTURE DATA __type SDL_JOYBUTTONDOWN__ or __SDL_JOYBUTTONUP__ __which__ Joystick device index __button__ Joystick button index __state SDL_PRESSED__ or __SDL_RELEASED__ !!DESCRIPTION __SDL_!JoyButtonEvent__ is a member of the __SDL_Event__ union and is used when an event of type __SDL_JOYBUTTONDOWN__ or __SDL_JOYBUTTONUP__ is reported. A __SDL_JOYBUTTONDOWN__ or __SDL_JOYBUTTONUP__ event occurs when ever a user presses or releases a button on a joystick. The field __which__ is the index of the joystick that reported the event and __button__ is the index of the button (for a more detailed explaination see the ''Joystick section''). __state__ is the current state or the button which is either __SDL_PRESSED__ or __SDL_RELEASED__. !!SEE ALSO __SDL_Event__, ''Joystick Functions'', __SDL_!JoystickEventState__, __SDL_!JoystickGetButton__ ----
One page links to
SDL_JoyButtonEvent(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.