This event class contains information about mouse events, particularly
events received by windows.
To process a mouse event, use these event handler macros to direct input to member
functions that take a JoystickEvent argument.
evt_joy_button_down() { | event | … } | Process a EVT_JOY_BUTTON_DOWN event. |
evt_joy_button_up() { | event | … } | Process a EVT_JOY_BUTTON_UP event. |
evt_joy_move() { | event | … } | Process a EVT_JOY_MOVE event. |
evt_joy_zmove() { | event | … } | Process a EVT_JOY_ZMOVE event. |
evt_joystick_events() { | event | … } | Processes all joystick events. |
Constructor.
Returns true if the event was a down event from the specified button (or any button).
Returns true if the specified button (or any button) was in a down state.
Returns true if the event was an up event from the specified button (or any button).
Returns the identifier of the button changing state. This is a JOY_BUTTONn identifier, where
n is one of 1, 2, 3, 4.
Returns the down state of the buttons. This is a bitlist of JOY_BUTTONn identifiers, where
n is one of 1, 2, 3, 4.
Returns the identifier of the joystick generating the event – one of JOYSTICK1 and JOYSTICK2.
Returns the x, y position of the joystick event.
Returns the z position of the joystick event.
Returns true if this was a button up or down event (not ‘is any button down?’).
Returns true if this was an x, y move event.
Returns true if this was a z move event.
[This page automatically generated from the Textile source at 2023-06-13 21:31:41 +0000]