get_hat


Description:

public bool get_hat (out uint16 axis, out int8 value)

Gets the hat of this, if any.

Parameters:

this

an event

axis

return location for the hat

value

return location for the hat value

Returns:

whether the hat was retrieved