Wiki Page Content

Revision 1 as of 2010-03-17 21:34:56

Clear message

DRAFT

SDL_JoystickGetAxis

Use this function to get the current state of an axis control on a joystick.

Syntax

Sint16 SDL_JoystickGetAxis(SDL_Joystick* joystick,
                           int           axis)

Function Parameters

joystick

a pointer to a structure containing joystick information ???

axis

the axis indices; starts at index 0

Return Value

The state is a value ranging from -32768 to 32767. green

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryJoystick

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