include/SDL_hints.h
changeset 12163 dd056c76593a
parent 12119 648377d0e573
child 12188 f081a5675f93
child 12211 0d8f33ad5fbb
     1.1 --- a/include/SDL_hints.h	Wed Aug 29 20:23:36 2018 -0700
     1.2 +++ b/include/SDL_hints.h	Wed Aug 29 20:23:39 2018 -0700
     1.3 @@ -488,6 +488,21 @@
     1.4  #define SDL_HINT_JOYSTICK_HIDAPI_PS4 "SDL_JOYSTICK_HIDAPI_PS4"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether extended input reports should be used for PS4 controllers when using the HIDAPI driver.
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - extended reports are not enabled (the default)
    1.11 + *    "1"       - extended reports
    1.12 + *
    1.13 + *  Extended input reports allow rumble on Bluetooth PS4 controllers, but
    1.14 + *  break DirectInput handling for applications that don't use SDL.
    1.15 + *
    1.16 + *  Once extended reports are enabled, they can not be disabled without
    1.17 + *  power cycling the controller.
    1.18 + */
    1.19 +#define SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE "SDL_JOYSTICK_HIDAPI_PS4_RUMBLE"
    1.20 +
    1.21 +/**
    1.22   *  \brief  A variable controlling whether the HIDAPI driver for Steam Controllers should be used.
    1.23   *
    1.24   *  This variable can be set to the following values: