Miguel Ruiz / SDL_lib

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_ControllerButtonEvent Struct Reference

SDL_ControllerButtonEvent Struct Reference

Game controller button event structure (event.cbutton. More...

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_CONTROLLERBUTTONDOWN or SDL_CONTROLLERBUTTONUP
SDL_JoystickID which
 The joystick instance id.
Uint8 button
 The controller button (SDL_GameControllerButton)
Uint8 state
 SDL_PRESSED or SDL_RELEASED

Detailed Description

Game controller button event structure (event.cbutton.

*)

Definition at line 361 of file SDL_events.h.


Field Documentation

The controller button (SDL_GameControllerButton)

Definition at line 366 of file SDL_events.h.

SDL_PRESSED or SDL_RELEASED

Definition at line 367 of file SDL_events.h.

SDL_JoystickID which

The joystick instance id.

Definition at line 365 of file SDL_events.h.