summaryrefslogtreecommitdiff
path: root/common/keyboard_8042.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard_8042.c')
-rw-r--r--common/keyboard_8042.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/keyboard_8042.c b/common/keyboard_8042.c
index bf3cc3fdd9..ddce39973f 100644
--- a/common/keyboard_8042.c
+++ b/common/keyboard_8042.c
@@ -929,7 +929,8 @@ void keyboard_protocol_task(void)
* @param button Type of button that changed
* @param is_pressed Whether the button was pressed or released
*/
-void keyboard_update_button(enum keyboard_button_type button, int is_pressed)
+test_mockable void keyboard_update_button(enum keyboard_button_type button,
+ int is_pressed)
{
/* TODO(crosbug.com/p/24956): Add typematic repeat support. */