Skip to content

Commit

Permalink
docs: fix button strings
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Oct 15, 2023
1 parent daee3fb commit aa55bf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/content/docs/apis/press-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ await nostalgist.pressDown({ button: 'a', player: 2 }) // press the button "a" o

+ #### `button`
**type:** `string`
The button you want to press. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`.
The button you want to press. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`,`l`,`l2`,`l3`,`r`,`r2`,`r3`.

The 'a', 'b', 'x', 'y' buttons here are using the SNES layout:
> <pre><code> x<br>y a<br> b</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/apis/press-up.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ await nostalgist.pressUp({ button: 'a', player: 2 }) // press the button "a" on

+ #### `button`
**type:** `string`
The button you want to release. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`.
The button you want to press. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`,`l`,`l2`,`l3`,`r`,`r2`,`r3`.

The 'a', 'b', 'x', 'y' buttons here are using the SNES layout:
> <pre><code> x<br>y a<br> b</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/apis/press.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ await nostalgist.press({ button: 'a', player: 2, time: 200 }) // press the butto

+ #### `button`
**type:** `string`
The button you want to press. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`.
The button you want to press. Can be: `up`,`down`,`left`,`right`,`select`,`start`,`a`,`b`,`x`,`y`,`l`,`l2`,`l3`,`r`,`r2`,`r3`.

The 'a', 'b', 'x', 'y' buttons here are using the SNES layout:
> <pre><code> x<br>y a<br> b</code></pre>
Expand Down

0 comments on commit aa55bf6

Please sign in to comment.