diff options
author | arthur.lin <arthur.lin@lcfc.corp-partner.google.com> | 2022-01-24 18:47:23 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-25 02:35:59 +0000 |
commit | 549df1e75b20dcb70cfa0c59417320e170e1c91b (patch) | |
tree | 7915b46f6deb260e2e43075da535f58b75ee0dbe /board/taniks | |
parent | 4a1bd80365d365e6976f4fdc97251ed1f3cc2681 (diff) | |
download | chrome-ec-549df1e75b20dcb70cfa0c59417320e170e1c91b.tar.gz |
taniks: Update keyboard mapping define
Update Update keyboard mapping define.
BUG=b:210723270
BRANCH=none
TEST=make buildall -j
Signed-off-by: arthur.lin <arthur.lin@lcfc.corp-partner.google.com>
Change-Id: Ic2e4f35a29d6d096fc7cefe8b79994210b445e19
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3412311
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/taniks')
-rw-r--r-- | board/taniks/keyboard.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 |