From acbb2bfddb7689dd0c01bd694a5a1da338e46532 Mon Sep 17 00:00:00 2001 From: Karl Jones Date: Mon, 1 Jun 2020 14:18:22 +0100 Subject: [PATCH 1/2] Fixed DualShock controller causing a "Could not create a device" error (case 1221223) --- Packages/com.unity.inputsystem/InputSystem/InputSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/InputSystem.cs b/Packages/com.unity.inputsystem/InputSystem/InputSystem.cs index bc93f1a6ac..2c56e01b67 100644 --- a/Packages/com.unity.inputsystem/InputSystem/InputSystem.cs +++ b/Packages/com.unity.inputsystem/InputSystem/InputSystem.cs @@ -3055,11 +3055,11 @@ private static void PerformDefaultPluginInitialization() { UISupport.Initialize(); - #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WSA || UNITY_IOS + #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WSA || UNITY_IOS || UNITY_TVOS XInputSupport.Initialize(); #endif - #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_WSA || UNITY_IOS + #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_PS4 || UNITY_WSA || UNITY_IOS || UNITY_TVOS DualShockSupport.Initialize(); #endif From 87d1543af3561d1103ebb7329c3312071dd88cac Mon Sep 17 00:00:00 2001 From: Karl Jones Date: Mon, 1 Jun 2020 14:22:34 +0100 Subject: [PATCH 2/2] Added changelog --- Packages/com.unity.inputsystem/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index 69fd9b5451..93005b97f4 100755 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -12,6 +12,7 @@ however, it has to be formatted properly to pass verification tests. ### Fixed - Fixed no input being processed when running a `[UnityTest]` over several frames. Before, this required calling `InputSystem.Update` manually. +- Fixed a bug that prevented DualShock controllers from working on tvOS. (case 1221223). #### Actions