- controller-button-event-button eventprocedure
- controller-button-event-button-raw eventprocedure
- set! (controller-button-event-button event) valsetter
- controller-button-event-button-set! event valsetter
Get or set the event's "button" field, as a symbol indicating the button that the event is related to.
- controller-button-event-button returns a game controller button symbol.
- controller-button-event-button-raw returns an integer.
- The setters accept either a symbol or an integer.
Before sdl2 egg 0.4.0, controller-button-event-button returned an integer.