XINPUT_USE_OLD_JOYSTICK_MAPPING


Description:

[ Version ( deprecated_since = "2.1" , since = "2.0.4" ) ]
[ CCode ( cname = "SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING" ) ]
public const string XINPUT_USE_OLD_JOYSTICK_MAPPING

Warning: XINPUT_USE_OLD_JOYSTICK_MAPPING is deprecated since 2.1.

A hint that specifies that SDL should use the old axis and button mapping for XInput devices.

This hint is for backwards compatibility only and will be removed in SDL 2.1

The default value is "0". This hint must be set before SDL.init.

The variable can be set to the following values:

  • "0" - SDL will use the old axis and button mapping for XInput devices
  • "1" - SDL won't use old axis and button mapping for XInput devices

By default SDL does not use the old axis and button mapping for XInput devices.


Namespace: SDL.Hint
Package: sdl2