SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_JoyButtonEvent Struct Reference

SDL_JoyButtonEvent Struct Reference

Joystick button event structure (event.jbutton. More...

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP
SDL_JoystickID which
 The joystick instance id.
Uint8 button
 The joystick button index.
Uint8 state
 SDL_PRESSED or SDL_RELEASED

Detailed Description

Joystick button event structure (event.jbutton.

*)

Definition at line 319 of file SDL_events.h.


Field Documentation

The joystick button index.

Definition at line 324 of file SDL_events.h.

SDL_PRESSED or SDL_RELEASED

Definition at line 325 of file SDL_events.h.

SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP

Definition at line 321 of file SDL_events.h.

SDL_JoystickID which

The joystick instance id.

Definition at line 323 of file SDL_events.h.