Send a gamepad specific effect packet.
Defined in <SDL3/SDL_gamepad.h>
bool SDL_SendGamepadEffect(SDL_Gamepad *gamepad, const void *data, int size);
SDL_Gamepad * | gamepad | the gamepad to affect. |
const void * | data | the data to send to the gamepad. |
int | size | the size of the data to send to the gamepad. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.