summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-03-06 18:37:00 +0100
committerMartin Roth <martinroth@google.com>2018-05-31 15:28:24 +0000
commit1f5ebf7c8b1cf1724524b02900c230961f039370 (patch)
tree2c803f44e6f724159c96161d87c79ec69db28b0d /payloads/libpayload/include
parent9aaf59aa6dc428fe7c405c479ec008f75306a30c (diff)
downloadcoreboot-1f5ebf7c8b1cf1724524b02900c230961f039370.tar.xz
libpayload: Export usbhid_getmodifiers
Add a new method to retrieve active usb keyboard modifiers. Change-Id: Ief6679ce782b58b9ced207f4f27504fb2a517b76 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/18602 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index c6b9447dfb..e74006a90f 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -141,6 +141,7 @@ int usb_initialize(void);
int usb_exit (void);
int usbhid_havechar(void);
int usbhid_getchar(void);
+int usbhid_getmodifiers(void);
/** @} */
/**