mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Update README.md
Updated Mouse with scroll wheel status and middle mouse button click status.
This commit is contained in:
parent
c8e8b59e86
commit
f310ab6f6f
@ -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 input data starts with the word "Mouse" and has the following structure.
|
||||||
```
|
```
|
||||||
Mouse
|
Mouse
|
||||||
X: -00343 Y: 000183 | |o|
|
X: -00343 Y: 000183 Wheel: 000004 | |o| |
|
||||||
| | | |
|
| | | | | +- Right mouse button pressed status ("o" - pressed, " " - not pressed)
|
||||||
| | | +- 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)
|
| | | +--- Left mouse button pressed status ("o" - pressed, " " - not pressed)
|
||||||
|
| | +---------- Mouse wheel scroll status
|
||||||
| +---------- Y relative coordinate of the cursor
|
| +---------- Y relative coordinate of the cursor
|
||||||
+----------------------- X relative coordinate of the cursor
|
+----------------------- X relative coordinate of the cursor
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user