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

game-controller-button-bind-hat bindprocedure

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

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

Requires sdl2 egg 0.4.0 or higher.