summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid H. Bronke <whitelynx@users.noreply.github.com>2021-01-24 09:51:25 -0500
committerGitHub <noreply@github.com>2021-01-24 14:51:25 +0000
commit92543a7cb56acab8f35670aa13b284e376ca199c (patch)
treeb8288ecee57cd49f8a4623ef24d311dd5cbb012a
parent944cf6476e1a8ddfab7c08dbe4cc1fee3ea4beb7 (diff)
fix(feature_ps2_mouse): fix Scroll Button example (#11669)
Corrected macro in Scroll Button example so it compiles.
-rw-r--r--docs/feature_ps2_mouse.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_ps2_mouse.md b/docs/feature_ps2_mouse.md
index e549810855..8e84e22d8a 100644
--- a/docs/feature_ps2_mouse.md
+++ b/docs/feature_ps2_mouse.md
@@ -206,7 +206,7 @@ It's possible to enable a "scroll button/s" that when pressed will cause the mou
To enable the feature, you must set a scroll button mask as follows:
```c
-#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BUTTON_MIDDLE) /* Default */
+#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_MIDDLE) /* Default */
```
To disable the scroll button feature: