Use new XInput mapping for Win10+ (Bugzilla #3960)
parent
69958441be
commit
6e3d0a133c
|
@ -41,7 +41,8 @@ SDL_XInputUseOldJoystickMapping()
|
|||
{
|
||||
#ifdef __WINRT__
|
||||
/* TODO: remove this __WINRT__ block, but only after integrating with UWP/WinRT's HID API */
|
||||
return SDL_TRUE;
|
||||
/* FIXME: Why are Win8/10 different here? -flibit */
|
||||
return (NTDDI_VERSION < NTDDI_WIN10);
|
||||
#else
|
||||
static int s_XInputUseOldJoystickMapping = -1;
|
||||
if (s_XInputUseOldJoystickMapping < 0) {
|
||||
|
|
Loading…
Reference in New Issue