Fix mouse scroll

This commit is contained in:
wup-one 2025-05-10 10:27:24 -04:00
parent d79f359c43
commit 9d9e54db83
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ var absoluteMouseCombinedReportDesc = []byte{
0x09, 0x38, // Usage (Wheel) 0x09, 0x38, // Usage (Wheel)
0x15, 0x81, // Logical Minimum (-127) 0x15, 0x81, // Logical Minimum (-127)
0x25, 0x7F, // Logical Maximum (127) 0x25, 0x7F, // Logical Maximum (127)
0x35, 0x00, // Physical Minimum (0) = Reset Physical Minimum
0x45, 0x00, // Physical Maximum (0) = Reset Physical Maximum
0x75, 0x08, // Report Size (8) 0x75, 0x08, // Report Size (8)
0x95, 0x01, // Report Count (1) 0x95, 0x01, // Report Count (1)
0x81, 0x06, // Input (Data, Var, Rel) 0x81, 0x06, // Input (Data, Var, Rel)