chickadee » sdl2 » joystick-event-state

(set! (joystick-event-state) state) → booleansetter
joystick-event-state-set! statesetter

joystick-event-state returns #t if joystick events are currently enabled, or #f if they are disabled (i.e. all future joystick-related events will be ignored).

The setters enable (if state is #t) or disable (if state is #f) joytsick events. WARNING: Calling the setters may delete all events currently in the event queue.

These procedures signal an exception of kind (exn sdl2) if an error occurs.

See SDL_JoystickEventState.