diff options
author | Bret Barkelew <brbarkel@microsoft.com> | 2024-07-01 11:09:55 -0700 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2025-05-09 16:01:42 +0800 |
commit | b2db39cefe1318d13d30040d31a6954e6b7219ce (patch) | |
tree | 1e81ffafb68b612ac8e5db3530a6dc7be2d8537b /BaseTools/Plugin/CodeQL/common/__init__.py | |
parent | fc215474c48295608f3e2a4f227554b810ceb2bb (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
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 <aaronpop@microsoft.com>
Diffstat (limited to 'BaseTools/Plugin/CodeQL/common/__init__.py')
0 files changed, 0 insertions, 0 deletions