Class Hint.Joystick.HidApi.GameCube
- Namespace
- Sdl3Sharp
- Assembly
- Sdl3Sharp.dll
SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE_*
public static class Hint.Joystick.HidApi.GameCube
- Inheritance
-
Hint.Joystick.HidApi.GameCube
- Inherited Members
Remarks
For the hint SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE ("SDL_JOYSTICK_HIDAPI_GAMECUBE") see UseDriver.
Properties
RumbleBrake
Gets a hint controlling whether rumble is used to implement the GameCube controller's 3 rumble modes (Stop(0), Rumble(1), and StopHard(2))
public static Hint RumbleBrake { get; }
Property Value
- Hint
A hint controlling whether rumble is used to implement the GameCube controller's 3 rumble modes (Stop(0), Rumble(1), and StopHard(2))
Remarks
This is useful for applications that need full compatibility for things like ADSR envelopes.
- Stop is implemented by setting low_frequency_rumble to
0and high_frequency_rumble> 0 - Rumble is both at any arbitrary value
- StopHard is implemented by setting both low_frequency_rumble and high_frequency_rumble to
0
The hint can be set to the following values:
"0"Normal rumble behavior is behavior is used (default)"1"Proper GameCube controller rumble behavior is used
This hint can be set anytime.
- See Also
UseDriver
Gets a hint controlling whether the HIDAPI driver for Nintendo GameCube controllers should be used
public static Hint UseDriver { get; }
Property Value
- Hint
A hint controlling whether the HIDAPI driver for Nintendo GameCube 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