Table of Contents

Class Hint.Joystick.Rawinput

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_JOYSTICK_RAWINPUT_*

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

Remarks

For the hint SDL_HINT_JOYSTICK_RAWINPUT ("SDL_HINT_JOYSTICK_RAWINPUT") see UseDrivers.

Properties

CorrelateXInput

Gets a hint controlling whether the RAWINPUT driver should pull correlated data from XInput

public static Hint CorrelateXInput { get; }

Property Value

Hint

A hint controlling whether the RAWINPUT driver should pull correlated data from XInput

Remarks

The hint can be set to the following values:

  • "0"RAWINPUT driver will only use data from raw input APIs
  • "1"RAWINPUT driver will also pull data from XInput and Windows.Gaming.Input, providing better trigger axes, guide button presses, and rumble support for Xbox controllers (default)

This hint should be set before .

See Also

UseDrivers

Gets a hint controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices

public static Hint UseDrivers { get; }

Property Value

Hint

A hint controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices

Remarks

The hint can be set to the following values:

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

This hint should be set before SDL is initialized.

See Also