Scroll to navigation

SDL_JoystickHasRumbleTriggers(3) SDL3 FUNCTIONS SDL_JoystickHasRumbleTriggers(3)

NAME

SDL_JoystickHasRumbleTriggers - Query whether a joystick has rumble support on triggers.

SYNOPSIS

#include "SDL3/SDL.h"
SDL_bool SDL_JoystickHasRumbleTriggers(SDL_Joystick *joystick);

FUNCTION PARAMETERS

The joystick to query

RETURN VALUE

Returns SDL_TRUE
if the joystick has trigger rumble,

SDL_FALSE
otherwise.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_RumbleJoystickTriggers(3)

SDL 3.0.0 SDL