Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER - A variable controlling whether the Sony driver

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10     SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER(3)

Description

       The variable can be set to the following values:

       • "0": Sony driver (sixaxis.sys) is not used.

       • "1": Sony driver (sixaxis.sys) is used.

       The default value is 0.

       This hint should be set before initializing joysticks and gamepads.

Header File

       Defined in SDL3/SDL_hints.h

Name

       SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER   -   A   variable   controlling   whether  the  Sony  driver
       (sixaxis.sys) for PS3 controllers (Sixaxis/DualShock 3) should be used.

Synopsis

#include"SDL3/SDL.h"#defineSDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVERSDL_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER"
return

See Also