Function SDL_GameControllerSendEffect

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

Send a controller specific effect packet

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

\since This function is available since SDL 2.0.16.