From f310ab6f6f18003f34b07691bac1c74bbb241428 Mon Sep 17 00:00:00 2001 From: Jorgen Bilander Date: Thu, 30 Nov 2023 11:03:20 +0100 Subject: [PATCH] Update README.md Updated Mouse with scroll wheel status and middle mouse button click status. --- examples/peripherals/usb/host/hid/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/peripherals/usb/host/hid/README.md b/examples/peripherals/usb/host/hid/README.md index 182ad685b9..b08362b4d9 100644 --- a/examples/peripherals/usb/host/hid/README.md +++ b/examples/peripherals/usb/host/hid/README.md @@ -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 ```