Skip to content

Commit ca0943e

Browse files
committed
Fix typos
1 parent 457b4fa commit ca0943e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ int readAxis(int axisNumber) {
225225
distance = (reading - center);
226226
}
227227
228-
// The Y axis needs to be inverted in order to map the movemment correctly
228+
// The Y axis needs to be inverted in order to map the movement correctly
229229
if (axisNumber == 1) {
230230
distance = -distance;
231231
}
@@ -319,7 +319,7 @@ Mouse.press(button)
319319

320320
#### Parameters
321321

322-
* `button`: which mouse button was realeased (MOUSE_LEFT, MOUSE_RIGHT or MOUSE_MIDDLE, default is MOUSE_LEFT).
322+
* `button`: which mouse button was released (MOUSE_LEFT, MOUSE_RIGHT or MOUSE_MIDDLE, default is MOUSE_LEFT).
323323

324324
#### Returns
325325

@@ -377,7 +377,7 @@ Mouse.isPressed(button);
377377

378378
#### Parameters
379379

380-
* `button`: which mouse button was realeased (MOUSE_LEFT, MOUSE_RIGHT or MOUSE_MIDDLE, default is MOUSE_LEFT).
380+
* `button`: which mouse button was released (MOUSE_LEFT, MOUSE_RIGHT or MOUSE_MIDDLE, default is MOUSE_LEFT).
381381

382382
#### Returns
383383

0 commit comments

Comments
 (0)