Skip to content

Commit 4beeea7

Browse files
Added documentation in Mouse.cs to specify the independent behaviour between position and delta. This is to help clarify ISXB-819
1 parent 82ec624 commit 4beeea7

File tree

1 file changed

+2
-2
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Devices

1 file changed

+2
-2
lines changed

Packages/com.unity.inputsystem/InputSystem/Devices/Mouse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public struct MouseState : IInputStateTypeInfo
2323
public static FourCC Format => new FourCC('M', 'O', 'U', 'S');
2424

2525
/// <summary>
26-
/// Screen-space position of the mouse in pixels.
26+
/// Screen-space position of the mouse in pixels. Updated independently from delta using WM. At high framerates, certain frames might not receive any new position data.
2727
/// </summary>
2828
/// <value>Position of mouse on screen.</value>
2929
/// <seealso cref="Pointer.position"/>
@@ -32,7 +32,7 @@ public struct MouseState : IInputStateTypeInfo
3232
public Vector2 position;
3333

3434
/// <summary>
35-
/// Screen-space motion delta of the mouse in pixels.
35+
/// Screen-space motion delta of the mouse in pixels. Updated independently from position using raw mouse input. At high framerates, certain frames might not receive any new delta data.
3636
/// </summary>
3737
/// <value>Mouse movement.</value>
3838
/// <seealso cref="Pointer.delta"/>

0 commit comments

Comments
 (0)