libpayload-x86: Add PS2 mouse driver
Make use of i8042 driver to add PS2 mouse driver support. Tested on Lenovot T500. The touchpad can be used to drive the mouse cursor. Change-Id: I4be9c74467596b94d64dfa510824d8722108fe9c Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/18597 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
committed by
Philipp Deppenwiese
parent
c622dc5e82
commit
5afc2936b8
@@ -331,11 +331,18 @@ config FONT_SCALE_FACTOR
|
||||
|
||||
config PC_I8042
|
||||
bool "A common PC i8042 driver"
|
||||
default y if PC_KEYBOARD
|
||||
default y if PC_KEYBOARD || PC_MOUSE
|
||||
default n
|
||||
help
|
||||
To be used by PC_KEYBOARD and PC_MOUSE.
|
||||
|
||||
config PC_MOUSE
|
||||
bool "Allow input from a PC mouse"
|
||||
default y if ARCH_X86 # uses IO
|
||||
default n
|
||||
help
|
||||
PS/2 mouse driver on top of PC_I8042.
|
||||
|
||||
config PC_KEYBOARD
|
||||
bool "Allow input from a PC keyboard"
|
||||
default y if ARCH_X86 # uses IO
|
||||
@@ -367,6 +374,7 @@ config NVRAM
|
||||
|
||||
config MOUSE_CURSOR
|
||||
bool "Support for mouse cursor handling"
|
||||
default y if PC_MOUSE
|
||||
default n
|
||||
help
|
||||
Provides a common interface for various mouse cursor drivers.
|
||||
|
Reference in New Issue
Block a user