include/SDL_hints.h
changeset 12163 dd056c76593a
parent 12119 648377d0e573
child 12188 f081a5675f93
child 12211 0d8f33ad5fbb
equal deleted inserted replaced
12162:03a4f7b4ec77 12163:dd056c76593a
   484  *    "1"       - HIDAPI driver is used
   484  *    "1"       - HIDAPI driver is used
   485  *
   485  *
   486  *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
   486  *  The default is the value of SDL_HINT_JOYSTICK_HIDAPI
   487  */
   487  */
   488 #define SDL_HINT_JOYSTICK_HIDAPI_PS4 "SDL_JOYSTICK_HIDAPI_PS4"
   488 #define SDL_HINT_JOYSTICK_HIDAPI_PS4 "SDL_JOYSTICK_HIDAPI_PS4"
       
   489 
       
   490 /**
       
   491  *  \brief  A variable controlling whether extended input reports should be used for PS4 controllers when using the HIDAPI driver.
       
   492  *
       
   493  *  This variable can be set to the following values:
       
   494  *    "0"       - extended reports are not enabled (the default)
       
   495  *    "1"       - extended reports
       
   496  *
       
   497  *  Extended input reports allow rumble on Bluetooth PS4 controllers, but
       
   498  *  break DirectInput handling for applications that don't use SDL.
       
   499  *
       
   500  *  Once extended reports are enabled, they can not be disabled without
       
   501  *  power cycling the controller.
       
   502  */
       
   503 #define SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE "SDL_JOYSTICK_HIDAPI_PS4_RUMBLE"
   489 
   504 
   490 /**
   505 /**
   491  *  \brief  A variable controlling whether the HIDAPI driver for Steam Controllers should be used.
   506  *  \brief  A variable controlling whether the HIDAPI driver for Steam Controllers should be used.
   492  *
   507  *
   493  *  This variable can be set to the following values:
   508  *  This variable can be set to the following values: