summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-02-06 15:26:58 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-05-15 12:02:31 +0000
commit5afc2936b83c744e0a0d3ab92e7a98b2aa163df4 (patch)
tree6e46e09fd42348e0b4e84cd9cd49ca16d66ef78d /payloads/libpayload/include
parentc622dc5e822cb849e36386a28efcb88241533a54 (diff)
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>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h9
1 files changed, 9 insertions, 0 deletions
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
@@ -204,6 +204,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
* @{