chickadee » sdl2 » controller-button-event-which

controller-button-event-which eventprocedure
set! (controller-button-event-which event) valsetter
controller-button-event-which-set! event valsetter

Get or set the event's "which" field, as an integer indicating the device index of the controller (joystick) that the event is related to.