[−][src]Function fermium::joystick::SDL_JoystickGetHat
pub unsafe extern "C" fn SDL_JoystickGetHat(
joystick: *mut SDL_Joystick,
hat: c_int
) -> u8
Get the current state of a POV hat on a joystick.
The hat indices start at index 0.
Returns: The return value is one of the SDL_HAT_*
constants.