Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_GamepadAxisEvent

A structure that contains game controller axis motion event information.

Data Fields

Uint32

type

SDL_ CONTROLLERAXISMOTION

Uint32

timestamp

the timestamp of the event

SDL_JoystickID

which

the joystick instance id

Uint8

axis

the controller axis (SDL_GamepadAxis)

Sint16

value

the axis value (range: -32768 to 32767)

Remarks

The directions "down" and "right" have positive values here.

SDL_EventType
SDL_Event
SDL_GameControllerEventState

CategoryStruct, CategoryEvents, CategoryDraft