Browse Source

Shift -> LeftShift

Jean-David Moisan 4 years ago
parent
commit
6242d180ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/getting-started.md

+ 2 - 2
docs/getting-started.md

@@ -111,7 +111,7 @@ Use `AllCondition` to require multiple keys at the same time.
 ```csharp
 ICondition run =
     new AllCondition(
-        new KeyboardCondition(Keys.Shift),
+        new KeyboardCondition(Keys.LeftShift),
         new KeyboardCondition(Keys.Right)
     );
 
@@ -154,7 +154,7 @@ An issue arises where `walk` will trigger during the `run` since both need the `
 ```csharp
 ICondition run =
     new AllCondition(
-        new KeyboardCondition(Keys.Shift),
+        new KeyboardCondition(Keys.LeftShift),
         new Track.KeyboardCondition(Keys.Right)
     );
 ICondition walk = new Track.KeyboardCondition(Keys.Right);