Inheritance diagram for wx.JoystickEvent:
This event class contains information about mouse events, particularly events received by windows.
See also
Event Name | Description |
---|---|
wx.EVT_JOY_BUTTON_DOWN(func) | Process a wx.wxEVT_JOY_BUTTON_DOWN event. |
wx.EVT_JOY_BUTTON_UP(func) | Process a wx.wxEVT_JOY_BUTTON_UP event. |
wx.EVT_JOY_MOVE(func) | Process a wx.wxEVT_JOY_MOVE event. |
wx.EVT_JOY_ZMOVE(func) | Process a wx.wxEVT_JOY_ZMOVE event. |
wx.EVT_JOYSTICK_EVENTS(func) | Processes all joystick events. |
Constructor.
Parameters:
Returns:
Returns True if the event was a down event from the specified button (or any button).
Parameters:
Returns:
bool
Returns True if the specified button (or any button) was in a down state.
Parameters:
Returns:
bool
Returns True if the event was an up event from the specified button (or any button).
Parameters:
Returns:
bool
Returns the identifier of the button changing state. This is a wx.JOY_BUTTONn identifier, where n is one of 1, 2, 3, 4.
Returns:
int
Returns the down state of the buttons. This is a bitlist of wx.JOY_BUTTONn identifiers, where n is one of 1, 2, 3, 4.
Returns:
int
Returns the identifier of the joystick generating the event - one of wx.JOYSTICK1 and wx.JOYSTICK2.
Returns:
int
Returns the z position of the joystick event.
Returns:
int
Returns True if this was a button up or down event (not ‘is any button down?’).
Returns:
bool
Returns True if this was an x, y move event.
Returns:
bool
Returns True if this was a z move event.
Returns:
bool
Parameters:
Parameters:
Parameters:
Parameters: