diff --git a/Packages/com.unity.inputsystem/InputSystem/Devices/Mouse.cs b/Packages/com.unity.inputsystem/InputSystem/Devices/Mouse.cs index 552b3cb78e..9c67513fa4 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Devices/Mouse.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Devices/Mouse.cs @@ -26,6 +26,10 @@ public struct MouseState : IInputStateTypeInfo /// Screen-space position of the mouse in pixels. /// /// Position of mouse on screen. + /// + /// On Windows, delta originates from RAWINPUT API. + /// Note: This value might not update every frame, particularly if your project is running at a high frame rates. This value might also update at a different time than the . If you need a delta value that correlates with position, you should compute it based on the previous position value. + /// /// [InputControl(usage = "Point", dontReset = true)] // Mouse should stay put when we reset devices. [FieldOffset(0)] @@ -35,6 +39,10 @@ public struct MouseState : IInputStateTypeInfo /// Screen-space motion delta of the mouse in pixels. /// /// Mouse movement. + /// + /// On Windows, delta originates from RAWINPUT API. + /// Note: This value might not update every frame, particularly if your project is running at a high frame rates. This value might also update at a different time than the . If you need a delta value that correlates with position, you should compute it based on the previous position value. + /// /// [InputControl(usage = "Secondary2DMotion", layout = "Delta")] [FieldOffset(8)]