Skip to content

Commit 4ffc6e6

Browse files
todi1856anjalin14pauliusb-unitysuearkinunityjfreire-unity
authored
DOCS: Rumble support for iOS and Android (#2420)
Co-authored-by: anjalin14 <anjali.nabar@unity3d.com> Co-authored-by: Paulius Balčiūnas <paulius.balciunas@unity3d.com> Co-authored-by: Sue Arkin <85237015+suearkinunity@users.noreply.github.com> Co-authored-by: João Freire <joao.freire@unity3d.com>
1 parent 05916ab commit 4ffc6e6

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

Packages/com.unity.inputsystem/CHANGELOG.md

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

4142
### Added
4243

Packages/com.unity.inputsystem/Documentation~/Gamepad.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,19 @@ Gamepad.current.SetMotorSpeeds(0.25f, 0.75f);
118118

119119
> [!NOTE]
120120
> Only the following combinations of devices/OSes currently support rumble:
121-
>* PS4, Xbox, and Switch controllers, when connected to their respective consoles. Only supported if you install console-specific input packages in your Project.
121+
>* PS4, Xbox, and Nintendo Switch controllers, when connected to their respective consoles. Only supported if you install console-specific input packages in your Project.
122122
>* PS4 controllers, when connected to Mac or Windows/UWP computers.
123123
>* Xbox controllers on Windows.
124-
124+
>* Gamepads on Android. Rumble support varies with Android OS version and requires Unity 6000.6 or later.
125+
> * Rumble automatically stops about 10 seconds after the last [`SetMotorSpeeds`](xref:UnityEngine.InputSystem.Haptics.IDualMotorRumble) call unless you explicitly stop it.
126+
> * Android 12 or later:
127+
> * Supports most Bluetooth-connected gamepads with rumble support including PS4, PS5, and Xbox controllers.
128+
> * If the gamepad is connected with a USB cable, rumble support might vary.
129+
> * If the gamepad supports more than one motor, you can control the speed of each motor individually.
130+
> * Android 11 or earlier:
131+
> * Rumble support is limited.
132+
> * 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.
133+
> * 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).
125134
[//]: # (TODO: are we missing any supported configs?)
126135
127136
### Pausing, resuming, and stopping haptics

0 commit comments

Comments
 (0)