input: Add mouse support
When running a simple GUI it is useful to support a mouse. This is similar to what is provided in UEFI's boot menu. Add a simple uclass and a way to read the mouse position. For sandbox add a driver that reads the position from SDL. Disable input for the tools-only build, since it is of no use there and causes build failures. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -15,3 +15,5 @@ obj-$(CONFIG_I8042_KEYB) += i8042.o
|
||||
obj-$(CONFIG_TEGRA_KEYBOARD) += input.o tegra-kbc.o
|
||||
obj-$(CONFIG_TWL4030_INPUT) += twl4030.o
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_MOUSE) += mouse-uclass.o
|
||||
|
||||
Reference in New Issue
Block a user