Send a joystick specific effect packet
int SDL_JoystickSendEffect(SDL_Joystick *joystick, const void *data, int size);
joystick | The joystick to affect |
data | The data to send to the joystick |
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
This function is available since SDL 2.0.16.