coreboot-kgpe-d16/payloads
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
..
coreinfo treewide: Remove trailing whitespace 2021-02-17 17:30:05 +00:00
external tint: introduce the new tint build system with checksum verification 2021-04-16 06:49:18 +00:00
libpayload libpayload/keyboard: Implement hot (un)plugging 2021-04-18 20:43:58 +00:00
linuxcheck treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvramcui nvramcui: Use libpayload's new `Makefile.payload` 2021-02-07 16:23:33 +00:00
Kconfig arch/arm: Enable FIT payloads 2020-08-19 07:16:59 +00:00
Makefile.inc payloads: Force sub-make runs for in-tree payloads 2021-02-07 16:31:56 +00:00