From e69058a7a556805c9f7231d4c78890d3244c2061 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 24 May 2017 10:14:38 -0700 Subject: eve: Update actual_key_mask for new scancodes With the updated scancode matrix the keymask needs to be adjusted to not mask off these particular keys. BUG=b:36735408 BRANCH=none TEST=build and boot on Eve TEST=kbpress 0 3 1; kbpress 0 3 0 reports KEY_LEFTMETA as expected TEST=kbpress 0 5 1; kbpress 0 5 0 reports MSC_SCAN but no key yet (as expected because the kernel does not handle it yet) Change-Id: Iba78741b8a0cd1248a799cf5219cee59ea6630ec Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/514502 Reviewed-by: Furquan Shaikh Reviewed-by: Nicolas Boichat --- board/eve/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/eve/board.c b/board/eve/board.c index e548baf6dd..52f000a0d2 100644 --- a/board/eve/board.c +++ b/board/eve/board.c @@ -166,7 +166,7 @@ struct keyboard_scan_config keyscan_config = { .min_post_scan_delay_us = 1000, .poll_timeout_us = 100 * MSEC, .actual_key_mask = { - 0x14, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff, + 0x3c, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff, 0xa4, 0xff, 0xfe, 0x55, 0xfa, 0xca /* full set */ }, }; -- cgit v1.2.1