zenilib: SDL_ControllerButtonEvent Struct Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
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_CONTROLLERBUTTONDOWN or SDL_CONTROLLERBUTTONUP

Definition at line 360 of file SDL_events.h.

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:

- zenilib/jni/external/sdl/SDL/SDL_events.h