chickadee » sdl2 » joy-button-event-button-set!

joy-button-event-button eventprocedure
set! (joy-button-event-button event) valsetter
joy-button-event-button-set! event valsetter

Get or set the event's "button" field, as an integer indicating the button that the event is related to. E.g. 0 indicates the first button on the joystick.