summaryrefslogtreecommitdiff
path: root/board/delbin
diff options
context:
space:
mode:
authorZhuohao Lee <zhuohao@chromium.org>2020-08-25 18:53:16 +0800
committerCommit Bot <commit-bot@chromium.org>2020-08-26 07:00:42 +0000
commitdcfbe43bdd75620cf5b12d6779b5e0e2d233d14c (patch)
tree6892dd8e80f6baa0b3e6749cc9b6d2904f3e7537 /board/delbin
parentb85981eabdd7869abb9afa806675a7694e94bce8 (diff)
downloadchrome-ec-dcfbe43bdd75620cf5b12d6779b5e0e2d233d14c.tar.gz
Delbin: report the numeric pad capability to AP
Since Delbin supports the numeric pad, we need to report the KEYBD_CAP_NUMERIC_KEYPAD to the AP. BUG=b:165343127 BRANCH=None TEST=numeric pad key event can be recognized by evtest. Change-Id: I0abc97f24c575e5e8b2f059633c01fee4de645a5 Signed-off-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2374886 Tested-by: Ken Lu <ken_lu@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/delbin')
-rw-r--r--board/delbin/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/delbin/board.c b/board/delbin/board.c
index e72d4487e4..ad8c9e44bb 100644
--- a/board/delbin/board.c
+++ b/board/delbin/board.c
@@ -369,7 +369,7 @@ static const struct ec_response_keybd_config delbin_kb = {
TK_VOL_DOWN, /* T9 */
TK_VOL_UP, /* T10 */
},
- .capabilities = KEYBD_CAP_SCRNLOCK_KEY,
+ .capabilities = KEYBD_CAP_SCRNLOCK_KEY | KEYBD_CAP_NUMERIC_KEYPAD,
};
__override const struct ec_response_keybd_config