Skip to content

Commit 95c3c3e

Browse files
committed
remove input manager references from Keyboard.cs
1 parent 4cfc8a6 commit 95c3c3e

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/Keyboard.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,8 @@ public void SetIMEEnabled(bool enabled)
11151115
/// void Update ()
11161116
/// {
11171117
/// // Set the IME cursor position to the mouse position
1118-
/// var x = Input.GetAxis("Mouse X");
1119-
/// var y = Input.GetAxis("Mouse Y");
1118+
/// var x = Mouse.current.position.x.ReadValue();
1119+
/// var y = Mouse.current.position.y.ReadValue();
11201120
/// cursorPosition = new Vector2(x, y);
11211121
/// Keyboard.current.SetIMECursorPosition(cursorPosition);
11221122
/// }

0 commit comments

Comments
 (0)