Scroll to navigation

SDL_GamepadCapSenseType(3type) SDL3 DATATYPES SDL_GamepadCapSenseType(3type)

NAME

SDL_GamepadCapSenseType - The list of capsense types on a gamepad

SYNOPSIS

#include <SDL3/SDL_gamepad.h>
typedef enum SDL_GamepadCapSenseType
{
    SDL_GAMEPAD_CAPSENSE_INVALID = -1,
    SDL_GAMEPAD_CAPSENSE_LEFT_STICK,    /**< Activated by touching the top of the left thumbstick */
    SDL_GAMEPAD_CAPSENSE_RIGHT_STICK,   /**< Activated by touching the top of the right thumbstick */
    SDL_GAMEPAD_CAPSENSE_LEFT_GRIP,     /**< Activated by gripping the left handle of the controller */
    SDL_GAMEPAD_CAPSENSE_RIGHT_GRIP,    /**< Activated by gripping the right handle of the controller */
    SDL_GAMEPAD_CAPSENSE_COUNT
} SDL_GamepadCapSenseType;

AVAILABILITY

This enum is available since SDL 3.6.0.

SEE ALSO

SDL_GamepadHasCapSense(3), SDL_GetGamepadCapSense(3)

SDL 3.5.0 Simple Directmedia Layer