chickadee » sdl2 » game-controller-button-bind-button

game-controller-button-bind-button bindprocedure

Get the sdl2:game-controller-button-bind's "button" field, the index of the joystick button that is bound.

This procedure signals an exception if the bind type is not button. Check with game-controller-button-bind-type before calling this.

Requires sdl2 egg 0.4.0 or higher.