Function fermium::joystick::SDL_JoystickGetProduct[][src]

pub unsafe extern "C" fn SDL_JoystickGetProduct(
    joystick: *mut SDL_Joystick
) -> u16
Expand description

Get the USB product ID of an opened joystick, if available.

If the product ID isn’t available this function returns 0.