zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_ControllerButtonEvent Struct Reference

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

#include <SDL_events.h>

Public Attributes

Uint8 button
 
Uint8 padding1
 
Uint8 padding2
 
Uint8 state
 
Uint32 timestamp
 
Uint32 type
 
SDL_JoystickID which
 

Detailed Description

Game controller button event structure (event.cbutton.*)

Definition at line 358 of file SDL_events.h.

Member Data Documentation

Uint8 SDL_ControllerButtonEvent::button

The controller button (SDL_GameControllerButton)

Definition at line 363 of file SDL_events.h.

Referenced by Zeni::Gamestate_II::on_event(), and Zeni::Game::on_event().

Uint8 SDL_ControllerButtonEvent::padding1

Definition at line 365 of file SDL_events.h.

Uint8 SDL_ControllerButtonEvent::padding2

Definition at line 366 of file SDL_events.h.

Uint8 SDL_ControllerButtonEvent::state

SDL_PRESSED or SDL_RELEASED

Definition at line 364 of file SDL_events.h.

Uint32 SDL_ControllerButtonEvent::timestamp

Definition at line 361 of file SDL_events.h.

Uint32 SDL_ControllerButtonEvent::type
SDL_JoystickID SDL_ControllerButtonEvent::which

The joystick instance id

Definition at line 362 of file SDL_events.h.

Referenced by Zeni::Gamestate_II::on_event(), and Zeni::Game::on_event().


The documentation for this struct was generated from the following file: