[Concept,01/16] scripts: build-efi: Use the USB mouse

Message ID 20251014111301.1059317-2-sjg@chromium.org
State New
Headers
Series boot: Separate out the boot-menu style |

Commit Message

Simon Glass Oct. 14, 2025, 11:12 a.m. UTC
  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>
---

 scripts/build-efi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/scripts/build-efi b/scripts/build-efi
index 21c2b656530..032b9f7b1ab 100755
--- a/scripts/build-efi
+++ b/scripts/build-efi
@@ -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: