summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chen <ben.chen2@quanta.corp-partner.google.com>2021-02-08 17:21:02 +0800
committerCommit Bot <commit-bot@chromium.org>2021-02-08 20:20:55 +0000
commitc976ae710b29aa03dc0bd08ad4f6513ac081be60 (patch)
treebe7be25753de1372141886105bbc34df38bb99d5
parent9de7ceade2b3cbd9e520e2631e81c732c7df6dd9 (diff)
downloadchrome-ec-c976ae710b29aa03dc0bd08ad4f6513ac081be60.tar.gz
magolor: Fix search key enable config
modify search key location BUG=b:179636269 BRANCH=dedede TEST=search key event can be recognized by evtest. Change-Id: Ieef9d62b0eca002053ea677b2831195cc282f99c Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2680913 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/magolor/board.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/magolor/board.c b/board/magolor/board.c
index 196cd1239c..413636816c 100644
--- a/board/magolor/board.c
+++ b/board/magolor/board.c
@@ -87,7 +87,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,
+ 0x1c, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff,
0xa4, 0xff, 0xfe, 0x55, 0xfe, 0xff, 0xff, 0xff, /* full set */
},
};
@@ -257,10 +257,6 @@ static void board_update_no_keypad_by_fwconfig(void)
keyboard_raw_set_cols(KEYBOARD_COLS_NO_KEYPAD);
keyscan_config.actual_key_mask[11] = 0xfa;
keyscan_config.actual_key_mask[12] = 0xca;
-
- /* Search key is moved back to col=1,row=0 */
- keyscan_config.actual_key_mask[0] = 0x14;
- keyscan_config.actual_key_mask[1] = 0xff;
#endif
}
}