chickadee » sdl2 » joy-hat-event-hat

joy-hat-event-hat eventprocedure
set! (joy-hat-event-hat event) valsetter
joy-hat-event-hat-set! event valsetter

Get or set the event's "hat" field, as an integer indicating the hat switch that the event is related to. E.g. 0 indicates the first hat switch on the joystick.