JoystickButtonEvent

This is the Event subclass that represents joystick button events. There are four joystick button event subtypes:

Joystick button events are always fired on the mainWindow object.

Properties

This event type has all of the standard event properties and methods (see the Event class), plus the following:

Background events

As with keyboard events, the joystick system uses separate event types for button presses that occur when the program is in the foreground and background. The reasons to separate the events are the same as for keyboard events; refer to the key event section for details.