Skip to content

Commit 0bddacb

Browse files
committed
fix xml format for MakeCurrent() example
1 parent a0ad998 commit 0bddacb

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,7 @@ public KeyControl this[Key key]
20912091
/// void Start()
20922092
/// {
20932093
/// // Add a keyboard and make it the current keyboard.
2094-
/// var keyboard = InputSystem.AddDevice<Keyboard>();
2094+
/// var keyboard = InputSystem.AddDevice("Keyboard");
20952095
/// keyboard.MakeCurrent();
20962096
/// }
20972097
/// }

0 commit comments

Comments
 (0)