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

game-controller-button-bind-axis bindprocedure

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

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

Requires sdl2 egg 0.4.0 or higher.