Unity-Technologies / InputSystem

An efficient and versatile input system for Unity.
Other
1.42k stars 306 forks source link

FIX: ISXB-927 Ignore platform-specific feature flags relating to Windows Gaming Input on all platforms. (Obsolete) #1955

Closed ekcoh closed 2 months ago

ekcoh commented 2 months ago

Description

Fix for ISXB-927 which ignore platform-specific feature flags relating to Windows Gaming Input when entering play-mode on non-Windows platforms.

Changes made

Excludes code reading and sending IOCTL command when WGI feature flag is explicitly set on non-Windows platforms instead of generating error messages about failed IOCTL on platforms where there is no other possible outcome than failed IOCTL result.

Removes obsolete Windows Gaming Input feature flag that should have been removed already when original WGI support was added since it was superseded by PlayerSettings.windowsGamepadBackendHint

Testing

No automated tests added at this point.

Risk

Small risk.

Checklist

Before review:

During merge:

After merge: