From 0c9d445b54fb3190664d85ca769c3310add51472 Mon Sep 17 00:00:00 2001 From: jbilander Date: Thu, 30 Nov 2023 10:33:01 +0100 Subject: [PATCH] Add scroll wheel status --- usb/usb_host_hid/include/usb/hid_usage_mouse.h | 1 + 1 file changed, 1 insertion(+) diff --git a/usb/usb_host_hid/include/usb/hid_usage_mouse.h b/usb/usb_host_hid/include/usb/hid_usage_mouse.h index 5ef01836ff..e9dcc5174b 100755 --- a/usb/usb_host_hid/include/usb/hid_usage_mouse.h +++ b/usb/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