Send a controller specific effect packet
Defined in SDL_gamecontroller.h
int SDL_GameControllerSendEffect(SDL_GameController *gamecontroller, const void *data, int size);
SDL_GameController * | gamecontroller | The controller to affect. |
const void * | data | The data to send to the controller. |
int | size | The size of the data to send to the controller. |
(int) Returns 0, or -1 if this controller or driver doesn't support effect packets.
This function is available since SDL 2.0.16.