Table of Contents

Class Hint.Joystick.HidApi.Gip

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_JOYSTICK_HIDAPI_GIP_*

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

Remarks

For the hint SDL_HINT_JOYSTICK_HIDAPI_GIP ("SDL_JOYSTICK_HIDAPI_GIP") see UseDriver.

Properties

ResetForMetadata

Gets a hint controlling whether the new HIDAPI driver for wired Xbox One (GIP) controllers should reset the controller if it can't get the metadata from the controller

public static Hint ResetForMetadata { get; }

Property Value

Hint

A hint controlling whether the new HIDAPI driver for wired Xbox One (GIP) controllers should reset the controller if it can't get the metadata from the controller

Remarks

The hint can be set to the following values:

  • "0"Assume this is a generic controller
  • "1"Reset the controller to get metadata

By default the controller is not reset.

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

SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA

UseDriver

Gets a hint controlling whether the new HIDAPI driver for wired Xbox One (GIP) controllers should be used

public static Hint UseDriver { get; }

Property Value

Hint

A hint controlling whether the new HIDAPI driver for wired Xbox One (GIP) 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