Function SDL_SendJoystickEffect
pub unsafe extern "C" fn SDL_SendJoystickEffect(
joystick: *mut SDL_Joystick,
data: *const c_void,
size: i32,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Send a joystick specific effect packet.
§Parameters
joystick
: the joystick to affect.data
: the data to send to the joystick.size
: the size of the data to send to the joystick.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.