libpayload/i8042: Add API to get/set kbd translation state

Change-Id: I49aa1c244cb60ea290df102f06f641c765f59fa5
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Nico Huber
2020-11-08 14:04:39 +01:00
committed by Hung-Te Lin
parent 683c95e4ab
commit 0e1d19baa6
2 changed files with 55 additions and 0 deletions

View File

@ -238,6 +238,9 @@ u8 i8042_read_data_aux(void);
int i8042_wait_read_ps2(void);
int i8042_wait_read_aux(void);
int i8042_get_kbd_translation(void);
int i8042_set_kbd_translation(bool xlate);
/** @} */
/**