Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: b2db39cefe1318d13d30040d31a6954e6b7219ce
https://github.com/tianocore/edk2/commit/b2db39cefe1318d13d30040d31a6954e6b7219ce
Author: Bret Barkelew <[email protected]>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
Log Message:
-----------
MdeModulePkg: Correct Usb Mouse Z for absolute pointer.
https://www.usb.org/sites/default/files/hid1_11.pdf
Appendix B, B.2 Protocol 2 (Mouse) details the information
returned by a usb mouse HID.
bytes 3..n are specific to the device, but are used by absolute
pointer devices to return a z axis.
Prior to this change, the existing code was reusing the X value for
the Z axis, which was incorrect.
For usb devices which do not return enough data for a z axis,
this change will be a no-op.
Signed-off-by: Aaron Pop <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits