SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_JoyAxisEvent Struct Reference

SDL_JoyAxisEvent Struct Reference

Joystick axis motion event structure (event.jaxis. More...

#include <SDL_events.h>

Data Fields

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

Detailed Description

Joystick axis motion event structure (event.jaxis.

*)

Definition at line 267 of file SDL_events.h.


Field Documentation

The joystick axis index.

Definition at line 272 of file SDL_events.h.

SDL_JOYAXISMOTION

Definition at line 269 of file SDL_events.h.

The axis value (range: -32768 to 32767)

Definition at line 276 of file SDL_events.h.

SDL_JoystickID which

The joystick instance id.

Definition at line 271 of file SDL_events.h.