Class Hint.Joystick.HidApi.JoyCons
- Namespace
- Sdl3Sharp
- Assembly
- Sdl3Sharp.dll
SDL_HINT_JOYSTICK_HIDAPI_JOYCON_, SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS_ and SDL_HINT_JOYSTICK_HIDAPI_*_JOY_CONS
public static class Hint.Joystick.HidApi.JoyCons
- Inheritance
-
Hint.Joystick.HidApi.JoyCons
- Inherited Members
Remarks
For the hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS ("SDL_JOYSTICK_HIDAPI_JOY_CONS") see UseDriver.
Properties
Combine
Gets a hint controlling whether Nintendo Switch Joy-Con controllers will be combined into a single Pro-like controller when using the HIDAPI driver
public static Hint Combine { get; }
Property Value
- Hint
A hint controlling whether Nintendo Switch Joy-Con controllers will be combined into a single Pro-like controller when using the HIDAPI driver
Remarks
The hint can be set to the following values:
"0"Left and right Joy-Con controllers will not be combined and each will be a mini-gamepad"1"Left and right Joy-Con controllers will be combined into a single controller (default)
This hint should be set before initializing joysticks and gamepads (either by initializing SDL or by initializing them on their own).
- See Also
HomeLed
Gets a hint controlling whether the Home button LED should be turned on when a Nintendo Switch Joy-Con controller is opened
public static Hint HomeLed { get; }
Property Value
- Hint
A hint controlling whether the Home button LED should be turned on when a Nintendo Switch Joy-Con 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.
This hint can be set anytime.
- See Also
UseDriver
Gets a hint controlling whether the HIDAPI driver for Nintendo Switch Joy-Cons should be used
public static Hint UseDriver { get; }
Property Value
- Hint
A hint controlling whether the HIDAPI driver for Nintendo Switch Joy-Cons 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
Vertical
Gets a hint controlling whether Nintendo Switch Joy-Con controllers will be in vertical mode when using the HIDAPI driver
public static Hint Vertical { get; }
Property Value
- Hint
A hint controlling whether Nintendo Switch Joy-Con controllers will be in vertical mode when using the HIDAPI driver
Remarks
The hint can be set to the following values:
"0"Left and right Joy-Con controllers will not be in vertical mode (default)"1"Left and right Joy-Con controllers will be in vertical mode
This hint should be set before .
- See Also