coreboot-kgpe-d16/payloads/libpayload/drivers/i8042
Nico Huber e97d320df2 libpayload/keyboard: Implement hot (un)plugging
While we assume a keyboard is attached, we send an echo command every
500ms. If there is no data coming from the keyboard within 200ms, we
assume it was detached.

Correspondingly, if we assume no keyboard is attached, we run an echo
command once per second.

Change-Id: I2c75182761729bf30711305f3d8b9d43eafad675
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47593
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-04-18 20:43:58 +00:00
..
i8042.c libpayload/i8042: Add API to peek on keyboard input queue 2020-12-24 08:29:18 +00:00
i8042.h libpayload/keyboard: Implement hot (un)plugging 2021-04-18 20:43:58 +00:00
keyboard.c libpayload/keyboard: Implement hot (un)plugging 2021-04-18 20:43:58 +00:00
mouse.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00