JOYSTICK_HIDAPI_PS4_RUMBLE


Description:

[ Version ( since = "2.0.9" ) ]
[ CCode ( cname = "SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE" ) ]
public const string JOYSTICK_HIDAPI_PS4_RUMBLE

A variable controlling whether extended input reports should be used for PS4 controllers when using the HIDAPI driver.

This variable can be set to the following values:

  • "0" - extended reports are not enabled (the default)
  • "1" - extended reports

Extended input reports allow rumble on Bluetooth PS4 controllers, but

break DirectInput handling for applications that don't use SDL.

Once extended reports are enabled, they can not be disabled without

power cycling the controller.


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org