From 5afc2936b83c744e0a0d3ab92e7a98b2aa163df4 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 6 Feb 2017 15:26:58 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/18597 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Philipp Deppenwiese --- payloads/libpayload/include/libpayload.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 96cc5f8165..c6b9447dfb 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -203,6 +203,15 @@ int i8042_wait_read_aux(void); /** @} */ +/** + * @defgroup i8042 PS2 Mouse functions + * @ingroup input + * @{ + */ +void i8042_mouse_init(void); +void i8042_mouse_disconnect(void); +/** @} */ + /** * @defgroup serial Serial functions * @ingroup input -- cgit v1.2.3