Send a joystick specific effect packet
Defined in SDL_joystick.h
int SDL_JoystickSendEffect(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, or -1 if this joystick or driver doesn't support effect packets.
This function is available since SDL 2.0.16.