summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-05-24 10:14:38 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-05-25 12:25:20 -0700
commite69058a7a556805c9f7231d4c78890d3244c2061 (patch)
tree34ae15f0d4a47a66b8c1503fdabdd55863bf1f86
parent1c2960358076b926ff9ab6d44381fcada5421fe9 (diff)
downloadchrome-ec-e69058a7a556805c9f7231d4c78890d3244c2061.tar.gz
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 <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/514502 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--board/eve/board.c2
1 files changed, 1 insertions, 1 deletions
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 */
},
};