From b93c1e3329cabc33ede94996e0110cfd4122568a Mon Sep 17 00:00:00 2001 From: Jorgen Bilander Date: Fri, 4 Oct 2024 08:40:30 +0200 Subject: [PATCH] feat(host/hid): Add scrollwheel status to mouse report Closes https://github.com/espressif/idf-extra-components/pull/273 --- host/class/hid/usb_host_hid/include/usb/hid_usage_mouse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/host/class/hid/usb_host_hid/include/usb/hid_usage_mouse.h b/host/class/hid/usb_host_hid/include/usb/hid_usage_mouse.h index 5ef01836..e9dcc517 100644 --- a/host/class/hid/usb_host_hid/include/usb/hid_usage_mouse.h +++ b/host/class/hid/usb_host_hid/include/usb/hid_usage_mouse.h @@ -29,6 +29,7 @@ typedef struct { } buttons; int8_t x_displacement; int8_t y_displacement; + int8_t scrollwheel; } __attribute__((packed)) hid_mouse_input_report_boot_t; #ifdef __cplusplus