Browse Source
fix(feature_ps2_mouse): fix Scroll Button example (#11669)
Corrected macro in Scroll Button example so it compiles.
pull/11681/head
David H. Bronke
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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: |
|
|
|