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:
SDL.ENABLEEnables joystick event processing.
SDL.IGNOREDisables joystick event processing.
SDL.QUERYQueries the current state and returns it.
- Returns
The current state of joystick event processing. If
statewasSDL.ENABLEorSDL.IGNORE, then processing will now be enabled or disabled, respectively.