From 549df1e75b20dcb70cfa0c59417320e170e1c91b Mon Sep 17 00:00:00 2001 From: "arthur.lin" Date: Mon, 24 Jan 2022 18:47:23 +0800 Subject: taniks: Update keyboard mapping define Update Update keyboard mapping define. BUG=b:210723270 BRANCH=none TEST=make buildall -j Signed-off-by: arthur.lin Change-Id: Ic2e4f35a29d6d096fc7cefe8b79994210b445e19 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3412311 Reviewed-by: caveh jalali --- board/taniks/keyboard.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'board/taniks') diff --git a/board/taniks/keyboard.c b/board/taniks/keyboard.c index 38a0799f9c..39de15dd6b 100644 --- a/board/taniks/keyboard.c +++ b/board/taniks/keyboard.c @@ -25,7 +25,7 @@ __override struct keyboard_scan_config keyscan_config = { }; static const struct ec_response_keybd_config taniks_kb = { - .num_top_row_keys = 10, + .num_top_row_keys = 11, .action_keys = { TK_BACK, /* T1 */ TK_REFRESH, /* T2 */ @@ -34,11 +34,12 @@ static const struct ec_response_keybd_config taniks_kb = { TK_SNAPSHOT, /* T5 */ TK_BRIGHTNESS_DOWN, /* T6 */ TK_BRIGHTNESS_UP, /* T7 */ - TK_VOL_MUTE, /* T8 */ - TK_VOL_DOWN, /* T9 */ - TK_VOL_UP, /* T10 */ + TK_MICMUTE, /* T8 */ + TK_VOL_MUTE, /* T9 */ + TK_VOL_DOWN, /* T10 */ + TK_VOL_UP, /* T11 */ }, - .capabilities = KEYBD_CAP_SCRNLOCK_KEY, + .capabilities = KEYBD_CAP_SCRNLOCK_KEY | KEYBD_CAP_NUMERIC_KEYPAD, }; __override const struct ec_response_keybd_config -- cgit v1.2.1