Wiki Page Content

DRAFT

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)

Code Examples

You can add your code example here

Remarks

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


CategoryStruct, CategoryEvents

None: SDL_ControllerAxisEvent (last edited 2015-06-20 19:39:21 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit