From b1d7a1875e2f96417a2ecd7ebe1680f650c2be22 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 11 Nov 2015 10:05:37 -0700 Subject: input: Support the German keymap Add support for the German keymap, taken from i8042.c. This can be selected when the input library it initialised. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- include/input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/input.h b/include/input.h index e56f500090..c1af259e26 100644 --- a/include/input.h +++ b/include/input.h @@ -167,9 +167,10 @@ void input_allow_repeats(struct input_config *config, bool allow_repeats); * This must be called after input_init() or keycode decoding will not work. * * @param config Input state + * @param german true to use German keyboard layout, false for US * @return 0 if ok, -1 on error */ -int input_add_tables(struct input_config *config); +int input_add_tables(struct input_config *config, bool german); /** * Set up the input handler with basic key maps. -- cgit v1.2.1