Skip to content

Commit cb7a9e0

Browse files
Add apple rumble docs
1 parent 253600c commit cb7a9e0

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4040
- 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)
4141
- Changed the UI for `Actions.inputactions` asset to use UI Toolkit framework.
4242
- Changed the UI for `InputSystem.inputsettings` asset to use UI Toolkit framework.
43-
- Added documentation for rumble support on Android.
43+
- Added documentation for rumble support on Android and iOS.
4444

4545
### Added
4646

Packages/com.unity.inputsystem/Documentation~/gamepad-haptics.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ Only the following combinations of devices/OSes currently support rumble:
2929
* Rumble support is limited.
3030
* 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.
3131
* 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).
32+
* Gamepads on iOS, tvOS, and visionOS. Requires Unity 6000.7 or later.
33+
* Supports rumble on gamepads for which Apple's GameController framework exposes haptics, including PS4, PS5, Xbox, and Nintendo Switch Pro controllers.
34+
* 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.
35+
* The first [`SetMotorSpeeds`](xref:UnityEngine.InputSystem.Haptics.IDualMotorRumble) call allocates rumble resources, which adds latency.
36+
* When you set all motor speeds to `0.0`, an inactivity timer starts. After 2 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.
37+
* Not every controller model exposes haptics through Apple's GameController framework. To confirm rumble support for a given controller, test it in a native application.
3238

3339
## Pausing, resuming, and stopping haptics
3440

0 commit comments

Comments
 (0)