efi: Provide a mouse driver for EFI
In some cases the device may have a touchpad or mouse, so it is useful to be able to use this in U-Boot. Add a simple driver for a mouse that uses the EFI simple-pointer protocol. Series-changes: 2 - Add missed Claude credit Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -104,7 +104,7 @@ config TWL4030_INPUT
|
||||
config MOUSE
|
||||
bool "Support for mice and other pointing devices"
|
||||
depends on INPUT
|
||||
default y if SANDBOX
|
||||
default y if SANDBOX || EFI_APP
|
||||
help
|
||||
This allows U-Boot to access mouse input, typically needed for
|
||||
graphics boot menus and the like. The driver can provide mouse
|
||||
@@ -118,3 +118,13 @@ config USB_MOUSE
|
||||
typically a boot menu. The driver uses the USB boot interface of
|
||||
the mouse and attempts to auto-configure itself for normal
|
||||
operation.
|
||||
|
||||
config EFI_MOUSE
|
||||
bool "EFI mouse support"
|
||||
depends on EFI_APP
|
||||
default y if EFI_APP
|
||||
help
|
||||
This enables mouse support when U-Boot is running as an EFI
|
||||
application. It uses the EFI Simple Pointer Protocol to access
|
||||
mouse input from the underlying EFI firmware. This is useful
|
||||
when U-Boot is used as an EFI boot manager or application.
|
||||
|
||||
Reference in New Issue
Block a user