zenilib: SDL_ControllerAxisEvent 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_ControllerAxisEvent Struct Reference

Game controller axis motion event structure (event.caxis.*) More...

`#include <SDL_events.h>`

## Public Attributes

Uint8 | axis
Uint8 | padding1
Uint8 | padding2
Uint8 | padding3
Uint16 | padding4
Uint32 | timestamp
Uint32 | type
Sint16 | value
SDL_JoystickID | which

## Detailed Description

Game controller axis motion event structure (event.caxis.*)

Definition at line 341 of file SDL_events.h.

## Member Data Documentation

Uint8 SDL_ControllerAxisEvent::axis

The controller axis (SDL_GameControllerAxis)

Definition at line 346 of file SDL_events.h.

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

Uint8 SDL_ControllerAxisEvent::padding1

Definition at line 347 of file SDL_events.h.

Uint8 SDL_ControllerAxisEvent::padding2

Definition at line 348 of file SDL_events.h.

Uint8 SDL_ControllerAxisEvent::padding3

Definition at line 349 of file SDL_events.h.

Uint16 SDL_ControllerAxisEvent::padding4

Definition at line 351 of file SDL_events.h.

Uint32 SDL_ControllerAxisEvent::timestamp

Definition at line 344 of file SDL_events.h.

Uint32 SDL_ControllerAxisEvent::type

SDL_CONTROLLERAXISMOTION

Definition at line 343 of file SDL_events.h.

Sint16 SDL_ControllerAxisEvent::value

The axis value (range: -32768 to 32767)

Definition at line 350 of file SDL_events.h.

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

SDL_JoystickID SDL_ControllerAxisEvent::which

The joystick instance id

Definition at line 345 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