libpayload-x86: Add PS2 mouse driver

Hardware / Coreboot - Patrick Rudolph [das-labor.org] - 15 May 2018 12:02 EDT

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

5afc2936b8 libpayload-x86: Add PS2 mouse driver
payloads/libpayload/Kconfig | 10 +-
payloads/libpayload/drivers/Makefile.inc | 1 +
payloads/libpayload/drivers/i8042/mouse.c | 292 +++++++++++++++++++++++++++++
payloads/libpayload/drivers/mouse_cursor.c | 4 +-
payloads/libpayload/include/libpayload.h | 9 +
5 files changed, 314 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share