Table of Contents

Class Hint.Joystick.HidApi.XBox360

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_*

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

Remarks

For the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360 ("SDL_JOYSTICK_HIDAPI_XBOX_360") see UseDriver.

Properties

PlayerLed

Gets a hint controlling whether the player LEDs should be lit to indicate which player is associated with an Xbox 360 controller

public static Hint PlayerLed { get; }

Property Value

Hint

A hint controlling whether the player LEDs should be lit to indicate which player is associated with an Xbox 360 controller

Remarks

The hint can be set to the following values:

  • "0"Player LEDs are not enabled
  • "1"Player LEDs are enabled (default)

This hint can be set anytime.

See Also

UseDriver

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

public static Hint UseDriver { get; }

Property Value

Hint

A hint controlling whether the HIDAPI driver for XBox 360 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