libpayload: Add mouse cursor driver

Add a driver to handle multiple low level mouse drivers
and provide basic cursor acceleration support.

Tested on Lenovo T500.

Change-Id: Ib7cec736631b8acf81a14d28daa29ff720777b10
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/18593
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Rudolph
2017-02-06 15:02:25 +01:00
committed by Stefan Reinauer
parent 8eb55bbfe7
commit 837da6ade7
4 changed files with 251 additions and 0 deletions

View File

@@ -350,6 +350,16 @@ config NVRAM
depends on ARCH_X86 # for now
default y
config MOUSE_CURSOR
bool "Support for mouse cursor handling"
default n
help
Provides a common interface for various mouse cursor drivers.
* Supports up to 32 buttons.
* Supports 3 axis mice.
* Applies simple cursor acceleration.
* Allows to set cursor acceleration and cursor speed.
config RTC_PORT_EXTENDED_VIA
bool "Extended RTC ports are 0x74/0x75"
default n