chickadee » sdl2 » joystick-get-button

joystick-get-button joystick button-numprocedure

See SDL_JoystickGetButton.

Signals an exception of kind (exn bounds) if button-num is less than 0 or greater than the last button on the joystick (see joystick-num-buttons).