mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Use new XInput mapping for Win10+ (Bugzilla #3960)
This commit is contained in:
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
Block a user