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

game-controller-button-bind-hat-mask-raw bindprocedure

Get the sdl2:game-controller-button-bind's "hat" field, the integer bitmask of the joystick hat direction 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.