Method SDL.joystick_event_state()
- Method
joystick_event_state
intjoystick_event_state(intstate)- Description
Enables, disables or queries the state of joystick event processing.
- Parameter
state One of the following constants:
-
Enables joystick event processing.
-
Disables joystick event processing.
-
Queries the current state and returns it.
-
- Returns
The current state of joystick event processing. If
statewas SDL.ENABLE or SDL.IGNORE, then processing will now be enabled or disabled, respectively.