summaryrefslogtreecommitdiff
path: root/board/woomax
diff options
context:
space:
mode:
authorMichael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>2020-08-26 10:45:56 +0800
committerCommit Bot <commit-bot@chromium.org>2020-08-27 04:52:08 +0000
commitb4fc3db41c0eb58e0a232fe36908f9265a74f39b (patch)
treeebea8fbd29176baad3fe08ae02a2dd104f230951 /board/woomax
parent018741aac031fcc7aeb9930f0c66a20f90eee88c (diff)
downloadchrome-ec-b4fc3db41c0eb58e0a232fe36908f9265a74f39b.tar.gz
woomax: report the numeric pad capability to AP
Since Woomax supports the numeric pad, we need to report the KEYBD_CAP_NUMERIC_KEYPD to the AP. BUG=b:165161477 BRANCH=None TEST=numeric pad key event can be recognized by evtest. Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Ibe2d31436eb41bbe2291a0c0a86aac9adb766801 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2377045 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/woomax')
-rw-r--r--board/woomax/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/woomax/board.c b/board/woomax/board.c
index 1d8d609168..fec0bec305 100644
--- a/board/woomax/board.c
+++ b/board/woomax/board.c
@@ -479,7 +479,7 @@ static const struct ec_response_keybd_config woomax_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