Skip to content

Commit

Permalink
Merge branch 'main' into feature/auto-rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDarksideJ authored Nov 26, 2024
2 parents 5e89670 + d17ab3c commit 020acb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/getting_started/5_adding_basic_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ JoystickState jstate = Joystick.GetState((int) PlayerIndex.One);

This code fetches the current first joystick state `Joystick.GetState((int) PlayerIndex.One)` and stores it into a variable called `jstate`.

### CHeck the current value of "Axis" 2
### Check the current value of "Axis" 2

```csharp
if (jstate.Axes[1] < 0)
Expand Down

0 comments on commit 020acb7

Please sign in to comment.