Function sdl2_sys::SDL_JoystickNumBalls [] [src]

pub unsafe extern "C" fn SDL_JoystickNumBalls(
    joystick: *mut SDL_Joystick
) -> c_int

Get the number of trackballs on a joystick.

Joystick trackballs have only relative motion events associated with them and their state cannot be polled.