diff options
author | amber.chen <amber.chen@lcfc.corp-partner.google.com> | 2022-03-17 21:17:47 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-22 06:27:36 +0000 |
commit | 6fab7742bfd363c39c4e94df12d113896633fccf (patch) | |
tree | 8ded3ed3d49c5c47a5f3c859e352d439ef8ed9da | |
parent | 823b6d429cb72234dab489abbf7dadbddcbfdc4b (diff) | |
download | chrome-ec-6fab7742bfd363c39c4e94df12d113896633fccf.tar.gz |
taeko/tarlo: Top row key T12, T13, T14 can't work
To fix on top row keys T12, T13, T14 no function,
search key no function,
and verify on taeko and tarlo at the same time
BUG=b:221390875,b:222026259
BRANCH=main
TEST=make -j BOARD=taeko
Signed-off-by: amber.chen <amber.chen@lcfc.corp-partner.google.com>
Change-Id: I4a756b850df46ac30a803f2f806b882c9d70b16e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3532503
Reviewed-by: Boris Mittelberg <bmbm@google.com>
-rw-r--r-- | board/taeko/keyboard.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/board/taeko/keyboard.c b/board/taeko/keyboard.c index 70169bce83..5ad9a6cdf3 100644 --- a/board/taeko/keyboard.c +++ b/board/taeko/keyboard.c @@ -20,7 +20,7 @@ __override 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, 0xff, 0xff, 0xa4, 0xff, 0xfe, 0x55, 0xfa, 0xca /* full set */ }, }; @@ -43,7 +43,7 @@ static const struct ec_response_keybd_config taeko_kb = { }; static const struct ec_response_keybd_config tarlo_kb = { - .num_top_row_keys = 11, + .num_top_row_keys = 14, .action_keys = { TK_BACK, /* T1 */ TK_REFRESH, /* T2 */ @@ -52,10 +52,13 @@ static const struct ec_response_keybd_config tarlo_kb = { TK_SNAPSHOT, /* T5 */ TK_BRIGHTNESS_DOWN, /* T6 */ TK_BRIGHTNESS_UP, /* T7 */ - TK_MICMUTE, /* T8 */ - TK_VOL_MUTE, /* T9 */ - TK_VOL_DOWN, /* T10 */ - TK_VOL_UP, /* T11 */ + TK_ABSENT, /* T8 */ + TK_ABSENT, /* T9 */ + TK_ABSENT, /* T10 */ + TK_MICMUTE, /* T11 */ + TK_VOL_MUTE, /* T12 */ + TK_VOL_DOWN, /* T13 */ + TK_VOL_UP, /* T14 */ }, .capabilities = KEYBD_CAP_SCRNLOCK_KEY | KEYBD_CAP_NUMERIC_KEYPAD, }; |