Function SDL_JoystickSendEffect

pub unsafe extern "C" fn SDL_JoystickSendEffect(
    joystick: *mut _SDL_Joystick,
    data: *const c_void,
    size: i32,
) -> i32
Available on crate feature dep_sdl2 only.
Expand description

Send a joystick specific effect packet

\param joystick The joystick to affect \param data The data to send to the joystick \param size The size of the data to send to the joystick \returns 0, or -1 if this joystick or driver doesn’t support effect packets

\since This function is available since SDL 2.0.16.