Update README.md

Updated Mouse with scroll wheel status and middle mouse button click status.
This commit is contained in:
Jorgen Bilander 2023-11-30 11:03:20 +01:00 committed by GitHub
parent c8e8b59e86
commit f310ab6f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,10 +63,11 @@ Hello, ESP32 USB HID Keyboard is here!
Mouse input data starts with the word "Mouse" and has the following structure.
```
Mouse
X: -00343 Y: 000183 | |o|
| | | |
| | | +- Right mouse button pressed status ("o" - pressed, " " - not pressed)
| | +--- Left mouse button pressed status ("o" - pressed, " " - not pressed)
X: -00343 Y: 000183 Wheel: 000004 | |o| |
| | | | | +- Right mouse button pressed status ("o" - pressed, " " - not pressed)
| | | | +- Middle mouse button pressed status ("o" - pressed, " " - not pressed)
| | | +--- Left mouse button pressed status ("o" - pressed, " " - not pressed)
| | +---------- Mouse wheel scroll status
| +---------- Y relative coordinate of the cursor
+----------------------- X relative coordinate of the cursor
```