Skip to content

Commit f91ebff

Browse files
todi1856anjalin14
andauthored
Update Packages/com.unity.inputsystem/Documentation~/Gamepad.md
Co-authored-by: anjalin14 <anjali.nabar@unity3d.com>
1 parent f9518e5 commit f91ebff

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

  • Packages/com.unity.inputsystem/Documentation~

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,16 @@ Gamepad.current.SetMotorSpeeds(0.25f, 0.75f);
121121
>* PS4, Xbox, and 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-
>* Android:
125-
> * Note: Rumble automatically stops about 10 seconds after the last SetMotorSpeeds call unless explicitly stopped.
126-
> * Requires Unity 6000.6 or later
127-
> * Android 12 or later
128-
> * Most bluetooth-connected gamepads with rumble support are supported (PS4/PS5 controllers, Xbox controllers, etc.)
129-
> * __Note:__ If the gamepad is connected via USB cable, rumble support may vary.
130-
> * __Note:__ If the gamepad supports more than one motor, each motor's strength can be controlled individually.
131-
> * Android 11 or earlier
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 via 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:
132131
> * Rumble support is limited.
133-
> * __Note:__ Only one motor is supported. If the gamepad has more than one motor, the higher value of the left and right motor strengths is applied to both.
134-
> * __Note:__ In some cases, frequency control is limited, meaning the rumble strength can only be either 1.0 or 0.0.
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).
135134
> * iOS:
136135
> * TODO: Paulius
137136

0 commit comments

Comments
 (0)