arsa  2.7
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

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

Detailed Description

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

Definition at line 377 of file SDL_events.h.

Member Data Documentation

◆ axis

Uint8 SDL_ControllerAxisEvent::axis

The controller axis (SDL_GameControllerAxis)

Definition at line 382 of file SDL_events.h.

◆ padding1

Uint8 SDL_ControllerAxisEvent::padding1

Definition at line 383 of file SDL_events.h.

◆ padding2

Uint8 SDL_ControllerAxisEvent::padding2

Definition at line 384 of file SDL_events.h.

◆ padding3

Uint8 SDL_ControllerAxisEvent::padding3

Definition at line 385 of file SDL_events.h.

◆ padding4

Uint16 SDL_ControllerAxisEvent::padding4

Definition at line 387 of file SDL_events.h.

◆ timestamp

Uint32 SDL_ControllerAxisEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 380 of file SDL_events.h.

◆ type

Uint32 SDL_ControllerAxisEvent::type

SDL_CONTROLLERAXISMOTION

Definition at line 379 of file SDL_events.h.

◆ value

Sint16 SDL_ControllerAxisEvent::value

The axis value (range: -32768 to 32767)

Definition at line 386 of file SDL_events.h.

◆ which

SDL_JoystickID SDL_ControllerAxisEvent::which

The joystick instance id

Definition at line 381 of file SDL_events.h.


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