Table of Contents

Class Hint.Joystick.HidApi

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_JOYSTICK_HIDAPI_*

public static class Hint.Joystick.HidApi
Inheritance
Hint.Joystick.HidApi
Inherited Members

Remarks

For the hint SDL_HINT_JOYSTICK_HIDAPI ("SDL_JOYSTICK_HIDAPI") see UseDrivers.

Properties

UseDrivers

Gets a hint controlling whether the HIDAPI joystick drivers should be used

public static Hint UseDrivers { get; }

Property Value

Hint

A hint controlling whether the HIDAPI joystick drivers should be used

Remarks

The hint can be set to the following values:

  • "0"HIDAPI drivers are not used
  • "1"HIDAPI drivers are used (default)

This variable is the default for all drivers, but can be overridden by the hints for specific drivers.

This hint should be set before initializing joysticks and gamepads (either by initializing SDL or by initializing them on their own).

See Also