Function sdl2_sys::SDL_GameControllerSendEffect
source · pub unsafe extern "C" fn SDL_GameControllerSendEffect(
gamecontroller: *mut SDL_GameController,
data: *const c_void,
size: c_int,
) -> c_int
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.