
Am 15. September 2025 12:46:58 MESZ schrieb Simon Glass <sjg@u-boot.org>:
From: Simon Glass <sjg@chromium.org>
Enable the mouse when running on QEMU, for ARM and x86.
This requires 'usb start' on x86. For ARM, the mouse does not work, perhaps related to the fact that the display does not work either.
Signed-off-by: Simon Glass <sjg@chromium.org>
Libvirt typically uses virtio-tablet as input device. The spice terminal does not work with a mouse emulation. At least under Wayland. Best regards Heinrich
---
drivers/input/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 4bc94de0a0a..7b34902dd7c 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -104,7 +104,7 @@ config TWL4030_INPUT config MOUSE bool "Support for mice and other pointing devices" depends on INPUT - default y if SANDBOX || EFI_APP + default y if SANDBOX || EFI_APP || MACH_QEMU help This allows U-Boot to access mouse input, typically needed for graphics boot menus and the like. The driver can provide mouse @@ -113,6 +113,7 @@ config MOUSE
config USB_MOUSE bool "USB mouse support" + default y if MACH_QEMU help This enables using a USB mouse to control a feature in U-Boot, typically a boot menu. The driver uses the USB boot interface of