diff options
author | Aseda Aboagye <aaboagye@google.com> | 2016-07-06 19:37:00 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-19 18:33:36 -0700 |
commit | 87a071941b89e3f7fd3eb329b682e60b3fbd6c73 (patch) | |
tree | d82c7b76924dea16c7c9d4de69b591be3a9ddfe6 /test/test_config.h | |
parent | c0f6ac5e02cdb7a25f593af6dce7b0eea71d996d (diff) | |
download | chrome-ec-87a071941b89e3f7fd3eb329b682e60b3fbd6c73.tar.gz |
mkbp: Add support for buttons and switches.
Currently, the matrix keyboard protocol does not have support for
handling non-matrixed keys. This commit adds support for buttons which
do not appear in the keyboard matrix as well as switches.
Additionally, the keyboard FIFO is now just a general MKBP events FIFO
which MKBP events are free to use. Now, buttons and switches wil join
the key matrix event.
BUG=chrome-os-partner:54988
BUG=chrome-os-partner:54976
BUG=chromium:626863
BRANCH=None
TEST=Flash kevin, and verify that keyboard is still functional.
TEST=make -j buildall
CQ-DEPEND=CL:358926
Change-Id: If4ada904cbd5d77823a0710d4671484b198c9d91
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/358633
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 7e0a9d073d..3750015bc3 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -31,10 +31,12 @@ #ifdef TEST_KB_MKBP #define CONFIG_KEYBOARD_PROTOCOL_MKBP +#define CONFIG_MKBP_EVENT #endif #ifdef TEST_KB_SCAN #define CONFIG_KEYBOARD_PROTOCOL_MKBP +#define CONFIG_MKBP_EVENT #endif #ifdef TEST_MATH_UTIL |