scripts: build-efi: Use the USB mouse

The USB mouse seems to have an absolute-pointer driver which can be
enabled in OVMF. Switch to this for x86.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-10-10 10:02:23 +01:00
parent 4855727dbd
commit b1110b1fe7

View File

@@ -114,7 +114,7 @@ class BuildEfi:
extra += ['-display', 'default,show-cursor=on']
else: # x86
extra += ['-device', 'qemu-xhci', '-device', 'usb-kbd',
'-device', 'usb-tablet']
'-device', 'usb-mouse']
extra += ['-serial', 'mon:stdio']
serial_msg = ''
if self.args.kvm: