Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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