This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

Draft

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

SDL_ControllerAxisEvent

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_GameControllerAxis)

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


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.