logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SendGamepadEffect - Send a gamepad specific effect packet.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                           SDL_SendGamepadEffect(3)

Function Parameters

gamepad
              the gamepad to affect.

       data   the data to send to the gamepad.

       size   the size of the data to send to the gamepad.

Name

       SDL_SendGamepadEffect - Send a gamepad specific effect packet.

Return Value

       for more information.

Synopsis

#include<SDL3/SDL_gamepad.h>boolSDL_SendGamepadEffect(SDL_Gamepad*gamepad,constvoid*data,intsize);

See Also