zenilib: SDL_JoyButtonEvent 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_JoyButtonEvent Struct Reference

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

`#include <SDL_events.h>`

## Public Attributes

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

## Detailed Description

Joystick button event structure (event.jbutton.*)

Definition at line 316 of file SDL_events.h.

## Member Data Documentation

Uint8 SDL_JoyButtonEvent::button

The joystick button index

Definition at line 321 of file SDL_events.h.

Referenced by SDL_GameControllerEventWatcher(), and SDLTest_PrintEvent().

Uint8 SDL_JoyButtonEvent::padding1

Definition at line 323 of file SDL_events.h.

Uint8 SDL_JoyButtonEvent::padding2

Definition at line 324 of file SDL_events.h.

Uint8 SDL_JoyButtonEvent::state

SDL_PRESSED or SDL_RELEASED

Definition at line 322 of file SDL_events.h.

Referenced by SDL_GameControllerEventWatcher().

Uint32 SDL_JoyButtonEvent::timestamp

Definition at line 319 of file SDL_events.h.

Uint32 SDL_JoyButtonEvent::type

SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP

Definition at line 318 of file SDL_events.h.

SDL_JoystickID SDL_JoyButtonEvent::which

The joystick instance id

Definition at line 320 of file SDL_events.h.

Referenced by SDL_GameControllerEventWatcher(), and SDLTest_PrintEvent().

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

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