diff options
Diffstat (limited to 'board/eve')
-rw-r--r-- | board/eve/board.c | 6 | ||||
-rw-r--r-- | board/eve/board.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/board/eve/board.c b/board/eve/board.c index 8d1b21ccd6..ef5699e2df 100644 --- a/board/eve/board.c +++ b/board/eve/board.c @@ -494,13 +494,13 @@ static void board_init(void) /* Update AC status to the PCH */ board_update_ac_status(); -#if defined(CONFIG_KEYBOARD_SCANCODE_MUTABLE) && !defined(TEST_BUILD) +#ifndef TEST_BUILD if (board_get_version() == 4) { /* Set F13 to new defined key on EVT */ CPRINTS("Overriding F13 scan code"); - scancode_set2[9][3] = 0xe007; + set_scancode_set2(3, 9, 0xe007); #ifdef CONFIG_KEYBOARD_DEBUG - keycap_label[9][3] = KLLI_F13; + set_keycap_label(3, 9, KLLI_F13); #endif } #endif diff --git a/board/eve/board.h b/board/eve/board.h index 1df410d6ef..8a46d74156 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -73,7 +73,6 @@ #define CONFIG_KEYBOARD_COL2_INVERTED #define CONFIG_KEYBOARD_PROTOCOL_8042 #define CONFIG_KEYBOARD_REFRESH_ROW3 -#define CONFIG_KEYBOARD_SCANCODE_MUTABLE #define CONFIG_TABLET_MODE /* Battery */ |