Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-07-29 19:28:35
Size: 1359
Editor: SheenaSmith
Comment: update content (old wiki)
Revision 4 as of 2010-07-29 22:30:10
Size: 1354
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
*<<BR>>[[SDL_JoyAxisEvent]]() is a member of the [[SDL_Event]]()??? union and is used when an event of type SDL_JOYAXISMOTION is reported. *<<BR>>[[SDL_JoyAxisEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_JOYAXISMOTION is reported.

DRAFT

SDL_JoyAxisEvent

A structure that contains joystick axis motion event structure information (event.jaxis.*).

Data Fields

Uint32

type

SDL_JOYAXISMOTION

Uint8

which

the joystick device index *the index of the joystick that reported the event*

Uint8

axis

the joystick axis index *the index of the axis*

Uint8

padding1

Uint8

padding2

int

value

the axis value the current position of the axis (range: -32768 to 32767)

Code Examples

You can add your code example here

Remarks

*
SDL_JoyAxisEvent() is a member of the SDL_Event union and is used when an event of type SDL_JOYAXISMOTION is reported.

A SDL_JOYAXISMOTION event occurs whenever a user moves an axis on the joystick. The field '''which''' is the index of the joystick that reported the event and '''axis''' is the index of the axis orange

. '''value''' is the current position of the axis.
*


CategoryStruct

None: SDL_JoyAxisEvent (last edited 2014-12-06 12:23:39 by PhilippWiesemann)

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