Class Hint.Joystick.HidApi.PS4
- Namespace
- Sdl3Sharp
- Assembly
- Sdl3Sharp.dll
SDL_HINT_JOYSTICK_HIDAPI_PS4_*
public static class Hint.Joystick.HidApi.PS4
- Inheritance
-
Hint.Joystick.HidApi.PS4
- Inherited Members
Remarks
For the hint SDL_HINT_JOYSTICK_HIDAPI_PS4 ("SDL_JOYSTICK_HIDAPI_PS4") see UseDriver.
Properties
ReportInterval
Gets a hint controlling the update rate of the PS4 controller over Bluetooth when using the HIDAPI driver
public static Hint ReportInterval { get; }
Property Value
- Hint
A hint controlling the update rate of the PS4 controller over Bluetooth when using the HIDAPI driver
Remarks
This defaults to 4 ms, to match the behavior over USB, and to be more friendly to other Bluetooth devices and older Bluetooth hardware on the computer.
It can be set to "1" (1000 Hz), "2" (500 Hz), and "4" (250 Hz).
This hint can be set anytime, but only takes effect when extended input reports are enabled.
- See Also
UseDriver
Gets a hint controlling whether the HIDAPI driver for PS4 controllers should be used
public static Hint UseDriver { get; }
Property Value
- Hint
A hint controlling whether the HIDAPI driver for PS4 controllers should be used
Remarks
The hint can be set to the following values:
"0"HIDAPI driver is not used"1"HIDAPI driver is used
The default value for this hint is the value of UseDrivers.
This hint should be set before initializing joysticks and gamepads (either by initializing SDL or by initializing them on their own).
- See Also