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

controller-button-event-button eventprocedure
set! (controller-button-event-button event) valsetter
controller-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 controller.