Table of Contents

Class Hint.Joystick.HidApi.XBox

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_JOYSTICK_HIDAPI_XBOX_*

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

Remarks

For the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX ("SDL_JOYSTICK_HIDAPI_XBOX") see UseDriver.

Properties

UseDriver

Gets a hint controlling whether the HIDAPI driver for XBox controllers should be used

public static Hint UseDriver { get; }

Property Value

Hint

A hint controlling whether the HIDAPI driver for XBox 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 is "0" on Windows, otherwise 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