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