/**
@class wxJoystick
@wxheader{joystick.h}
-
+
wxJoystick allows an application to control one or more joysticks.
-
+
@library{wxadv}
@category{FIXME}
-
+
@seealso
wxJoystickEvent
*/
/**
Returns the state of the specified joystick button.
- @param id
+ @param id
The button id to report, from 0 to GetNumberButtons() - 1
*/
int GetButtonState();
- bool GetButtonState(unsigned id);
+ bool GetButtonState(unsigned id);
//@}
/**
/**
Returns the position of the specified joystick axis.
- @param axis
+ @param axis
The joystick axis to report, from 0 to GetNumberAxes() - 1.
*/
wxPoint GetPosition();
- int GetPosition(unsigned axis);
+ int GetPosition(unsigned axis);
//@}
/**
/**
Sets the capture to direct joystick events to @e win.
- @param win
+ @param win
The window that will receive joystick events.
- @param pollingFreq
+ @param pollingFreq
If zero, movement events are sent when above the
threshold. If greater than zero, events are received every pollingFreq
milliseconds.