Send a joystick specific effect packet.
Defined in <SDL3/SDL_joystick.h>
bool 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. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.