Function fermium::gamecontroller::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
gamecontroller
The controller to affectdata
The data to send to the controllersize
The size of the data to send to the controller- Returns: 0, or -1 if this controller or driver doesn’t support effect packets