My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros 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

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.*)

Member Data Documentation

Uint8 SDL_ControllerAxisEvent::axis

The controller axis (SDL_GameControllerAxis)

Uint32 SDL_ControllerAxisEvent::type
Sint16 SDL_ControllerAxisEvent::value

The axis value (range: -32768 to 32767)

SDL_JoystickID SDL_ControllerAxisEvent::which

The joystick instance id


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