Inheritance diagram for wx.Joystick:
wx.Joystick allows an application to control one or more joysticks.
See also
Constructor. joystick may be one of wx.JOYSTICK1, wx.JOYSTICK2, indicating the joystick controller of interest.
Parameters:
Returns:
Returns the state of the joystick buttons. Every button is mapped to a single bit in the returned integer, with the first button being mapped to the least significant bit, and so on.
Returns a bitlist of wx.JOY_BUTTONn identifiers, where n is 1, 2, 3 or 4 is available for historical reasons.
Returns:
int
Returns the manufacturer id.
Returns:
int
Returns the movement threshold, the number of steps outside which the joystick is deemed to have moved.
Returns:
int
Returns the number of axes for this joystick.
Returns:
int
Returns the number of buttons for this joystick.
Returns:
int
Returns the number of joysticks currently attached to the computer.
Returns:
int
Returns the point-of-view position, expressed in continuous, one-hundredth of a degree units.
Returns -1 on error.
Returns:
int
Returns the point-of-view position, expressed in continuous, one-hundredth of a degree units, but limited to return 0, 9000, 18000 or 27000.
Returns -1 on error.
Returns:
int
Returns the maximum polling frequency.
Returns:
int
Returns the minimum polling frequency.
Returns:
int
Returns the product id for the joystick.
Returns:
int
Returns the product name for the joystick.
Returns:
string
Returns the maximum rudder position.
Returns:
int
Returns the minimum rudder position.
Returns:
int
Returns the rudder position.
Returns:
int
Returns the maximum U position.
Returns:
int
Returns the minimum U position.
Returns:
int
Gets the position of the fifth axis of the joystick, if it exists.
Returns:
int
Returns the maximum V position.
Returns:
int
Returns the minimum V position.
Returns:
int
Gets the position of the sixth axis of the joystick, if it exists.
Returns:
int
Returns the maximum x position.
Returns:
int
Returns the minimum x position.
Returns:
int
Returns the maximum y position.
Returns:
int
Returns the minimum y position.
Returns:
int
Returns the maximum z position.
Returns:
int
Returns the minimum z position.
Returns:
int
Returns the z position of the joystick.
Returns:
int
Returns True if the joystick has a point of view control.
Returns:
bool
Returns True if the joystick point-of-view supports discrete values (centered, forward, backward, left, and right).
Returns:
bool
Returns True if the joystick point-of-view supports continuous degree bearings.
Returns:
bool
Returns True if there is a rudder attached to the computer.
Returns:
bool
Returns True if the joystick has a U axis.
Returns:
bool
Returns True if the joystick has a V axis.
Returns:
bool
Returns True if the joystick has a Z axis.
Returns:
bool
Returns True if the joystick is functioning.
Returns:
bool
Releases the capture set by SetCapture.
Returns:
bool
See also
Sets the capture to direct joystick events to win.
Parameters:
Returns:
bool
See also
Sets the movement threshold, the number of steps outside which the joystick is deemed to have moved.
Parameters: