Class Hint.Joystick.HidApi.XBoxOne
- Namespace
- Sdl3Sharp
- Assembly
- Sdl3Sharp.dll
SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_*
public static class Hint.Joystick.HidApi.XBoxOne
- Inheritance
-
Hint.Joystick.HidApi.XBoxOne
- Inherited Members
Remarks
For the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE ("SDL_JOYSTICK_HIDAPI_XBOX_ONE") see UseDriver.
Properties
HomeLed
Gets a hint controlling whether the Home button LED should be turned on when an Xbox One controller is opened
public static Hint HomeLed { get; }
Property Value
- Hint
A hint controlling whether the Home button LED should be turned on when an Xbox One controller is opened
Remarks
The hint can be set to the following values:
"0"Home button LED is turned off"1"Home button LED is turned on
By default the Home button LED state is not changed.
This hint can also be set to a floating point value between 0.0 and 1.0 which controls the brightness of the Home button LED.
The default brightness is 0.4.
This hint can be set anytime.
- See Also
UseDriver
Gets a hint controlling whether the HIDAPI driver for XBox One controllers should be used
public static Hint UseDriver { get; }
Property Value
- Hint
A hint controlling whether the HIDAPI driver for XBox One 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 UseDriver.
This hint should be set before initializing joysticks and gamepads (either by initializing SDL or by initializing them on their own).
- See Also