Send a joystick specific effect packet.
Defined in <SDL3/SDL_joystick.h>
int SDL_SendJoystickEffect(SDL_Joystick *joystick, const void *data, int size);
SDL_Joystick * | joystick | the joystick to affect. |
const void * | data | the data to send to the joystick. |
int | size | the size of the data to send to the joystick. |
(int) Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.