Skip to content

Commit 6fab774

Browse files
amber-chen1234Commit Bot
authored andcommitted
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 <[email protected]> Change-Id: I4a756b850df46ac30a803f2f806b882c9d70b16e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3532503 Reviewed-by: Boris Mittelberg <[email protected]>
1 parent 823b6d4 commit 6fab774

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

board/taeko/keyboard.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ __override struct keyboard_scan_config keyscan_config = {
2020
.min_post_scan_delay_us = 1000,
2121
.poll_timeout_us = 100 * MSEC,
2222
.actual_key_mask = {
23-
0x14, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff,
23+
0x1c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
2424
0xa4, 0xff, 0xfe, 0x55, 0xfa, 0xca /* full set */
2525
},
2626
};
@@ -43,7 +43,7 @@ static const struct ec_response_keybd_config taeko_kb = {
4343
};
4444

4545
static const struct ec_response_keybd_config tarlo_kb = {
46-
.num_top_row_keys = 11,
46+
.num_top_row_keys = 14,
4747
.action_keys = {
4848
TK_BACK, /* T1 */
4949
TK_REFRESH, /* T2 */
@@ -52,10 +52,13 @@ static const struct ec_response_keybd_config tarlo_kb = {
5252
TK_SNAPSHOT, /* T5 */
5353
TK_BRIGHTNESS_DOWN, /* T6 */
5454
TK_BRIGHTNESS_UP, /* T7 */
55-
TK_MICMUTE, /* T8 */
56-
TK_VOL_MUTE, /* T9 */
57-
TK_VOL_DOWN, /* T10 */
58-
TK_VOL_UP, /* T11 */
55+
TK_ABSENT, /* T8 */
56+
TK_ABSENT, /* T9 */
57+
TK_ABSENT, /* T10 */
58+
TK_MICMUTE, /* T11 */
59+
TK_VOL_MUTE, /* T12 */
60+
TK_VOL_DOWN, /* T13 */
61+
TK_VOL_UP, /* T14 */
5962
},
6063
.capabilities = KEYBD_CAP_SCRNLOCK_KEY | KEYBD_CAP_NUMERIC_KEYPAD,
6164
};

0 commit comments

Comments
 (0)