diff options
| author | Jiaqing Zhao <Zhao.Jiaqing@amd.com> | 2026-06-25 11:16:39 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-20 15:43:36 +0300 |
| commit | efdbf3c355c9e329bf57fec75744b68f12c1ee81 (patch) | |
| tree | e272d3f1ef0492a9459759d5f7ebb36018a19d26 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | fd63e805088df7655f038a03a28f861379f02376 (diff) | |
| download | edk2-efdbf3c355c9e329bf57fec75744b68f12c1ee81.tar.xz | |
OvmfPkg/VirtioInputDxe: Add virtio mouse support
Virtio mouse devices report relative movements (EV_REL) and button
inputs. Add VirtioMouse.c implementing mouse capability probing,
EFI_SIMPLE_POINTER_PROTOCOL implementation and event handler that
converts VIRTIO_INPUT_EVENT into EFI_SIMPLE_POINTER_STATE.
The shared event dispatcher in VirtioInput.c now routes EV_REL events
and EV_KEY codes above MAX_KEYBOARD_CODE to the mouse handler, while
keycodes in [0, MAX_KEYBOARD_CODE] still go to the keyboard. A device
is now accepted when it provides a keyboard or a mouse, and the
EFI_SIMPLE_POINTER_PROTOCOL is installed on mouse-capable devices.
Signed-off-by: Jiaqing Zhao <Zhao.Jiaqing@amd.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
