Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jozanza authored Jan 29, 2024
1 parent 5382f1b commit e89f214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Both gamepad and mouse controls use the `Button` enum to represent the input sta

By default, all buttons are in the `Released` state when no input is detected.

### Gamepad controls
### Gamepad

Turbo's "gamepad" is similar to a SNES controller and maps up to 2 player's gamepad input to the keyboard:

Expand Down Expand Up @@ -93,7 +93,7 @@ match gp.start {
}
```

### Mouse control
### Mouse

?> In Turbo, mouse input automatically converts to touch input on mobile devices.

Expand Down

0 comments on commit e89f214

Please sign in to comment.