SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_ControllerAxisEvent Struct Reference

SDL_ControllerAxisEvent Struct Reference

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

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_CONTROLLERAXISMOTION
SDL_JoystickID which
 The joystick instance id.
Uint8 axis
 The controller axis (SDL_GameControllerAxis)
Sint16 value
 The axis value (range: -32768 to 32767)

Detailed Description

Game controller axis motion event structure (event.caxis.

*)

Definition at line 344 of file SDL_events.h.


Field Documentation

The controller axis (SDL_GameControllerAxis)

Definition at line 349 of file SDL_events.h.

SDL_CONTROLLERAXISMOTION

Definition at line 346 of file SDL_events.h.

The axis value (range: -32768 to 32767)

Definition at line 353 of file SDL_events.h.

SDL_JoystickID which

The joystick instance id.

Definition at line 348 of file SDL_events.h.