Wiki Page Content

Revision 2 as of 2015-06-20 19:39:21

Clear message

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

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