We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ad998 commit 0bddacbCopy full SHA for 0bddacb
Packages/com.unity.inputsystem/InputSystem/Devices/Keyboard.cs
@@ -2091,7 +2091,7 @@ public KeyControl this[Key key]
2091
/// void Start()
2092
/// {
2093
/// // Add a keyboard and make it the current keyboard.
2094
- /// var keyboard = InputSystem.AddDevice<Keyboard>();
+ /// var keyboard = InputSystem.AddDevice("Keyboard");
2095
/// keyboard.MakeCurrent();
2096
/// }
2097
0 commit comments