From b84d1f34ea8ccf4bf3529ea18e1c5814ad57342f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulius=20Bal=C4=8Di=C5=ABnas?= Date: Tue, 16 Jun 2026 10:24:57 +0300 Subject: [PATCH] https://jira.unity3d.com/browse/PLAT-20203 docs --- Packages/com.unity.inputsystem/CHANGELOG.md | 2 +- Packages/com.unity.inputsystem/Documentation~/Gamepad.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index 3453304eb6..dc3768cfd1 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -38,7 +38,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Migrated sample scenes to use Universal Render Pipeline (URP) with Built-in Render Pipeline fallback shaders. The URP package is now required to run the samples. (ISX-2343) - Changed the UI for `Actions.inputactions` asset to use UI Toolkit framework. - Changed the UI for `InputSystem.inputsettings` asset to use UI Toolkit framework. -- Added documentation for rumble support on Android. +- Added documentation for rumble support on Android and iOS. ### Added diff --git a/Packages/com.unity.inputsystem/Documentation~/Gamepad.md b/Packages/com.unity.inputsystem/Documentation~/Gamepad.md index 12eb6cbd85..a157ce8585 100644 --- a/Packages/com.unity.inputsystem/Documentation~/Gamepad.md +++ b/Packages/com.unity.inputsystem/Documentation~/Gamepad.md @@ -131,6 +131,11 @@ Gamepad.current.SetMotorSpeeds(0.25f, 0.75f); > * Rumble support is limited. > * Only one motor is supported. If the gamepad has more than one motor, the higher value of the left and right motor speed applies to both. > * On some devices, motor speed control is limited. You can only set the left and right motor speed to either `1.0` (maximum speed) or `0.0` (turned off). +> * Gamepads on iOS, tvOS, and visionOS. Requires Unity 6000.6 or later. +> * Supports rumble on gamepads that Apple's GameController framework recognizes, including PS4, PS5, Xbox, and Nintendo Switch Pro controllers. +> * If the gamepad supports left and right motors, you can control the speed of each motor individually. Otherwise, the higher value of the left and right motor speed applies to all motors on the gamepad. +> * The first [`SetMotorSpeeds`](xref:UnityEngine.InputSystem.Haptics.IDualMotorRumble) call allocates rumble resources, which adds latency. +> * When you set all motor speeds to `0.0`, an inactivity timer starts. After two minutes, the system releases rumble resources to preserve the controller's battery. The next [`SetMotorSpeeds`](xref:UnityEngine.InputSystem.Haptics.IDualMotorRumble) call reallocates resources and again incurs allocation latency. [//]: # (TODO: are we missing any supported configs?) ### Pausing, resuming, and stopping haptics