diff options
-rw-r--r-- | board/sasuke/board.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/board/sasuke/board.c b/board/sasuke/board.c index 2a87901998..e1dcf1054f 100644 --- a/board/sasuke/board.c +++ b/board/sasuke/board.c @@ -25,6 +25,7 @@ #include "gpio.h" #include "hooks.h" #include "i2c.h" +#include "keyboard_8042.h" #include "keyboard_scan.h" #include "lid_switch.h" #include "power.h" @@ -520,3 +521,29 @@ uint16_t tcpc_get_alert_status(void) return status; } + +static const struct ec_response_keybd_config keybd1 = { + .num_top_row_keys = 10, + .action_keys = { + TK_BACK, /* T1 */ + TK_FORWARD, /* T2 */ + TK_REFRESH, /* T3 */ + TK_FULLSCREEN, /* T4 */ + TK_OVERVIEW, /* T5 */ + TK_BRIGHTNESS_DOWN, /* T6 */ + TK_BRIGHTNESS_UP, /* T7 */ + TK_VOL_MUTE, /* T8 */ + TK_VOL_DOWN, /* T9 */ + TK_VOL_UP, /* T10 */ + }, + /* No function keys, no numeric keypad and no screenlock key */ +}; +__override const struct ec_response_keybd_config +*board_vivaldi_keybd_config(void) +{ + /* + * Future boards should use fw_config if needed. + */ + + return &keybd1; +} |