summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-11 10:05:37 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:41 -0700
commitb1d7a1875e2f96417a2ecd7ebe1680f650c2be22 (patch)
tree7eb4423439072ef0ed95653a9cacc9ac07aef14b /include/input.h
parent9961a0b6fbe199cd7b08203415a905c4c7d0a731 (diff)
downloadu-boot-imx-b1d7a1875e2f96417a2ecd7ebe1680f650c2be22.zip
u-boot-imx-b1d7a1875e2f96417a2ecd7ebe1680f650c2be22.tar.gz
u-boot-imx-b1d7a1875e2f96417a2ecd7ebe1680f650c2be22.tar.bz2
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h
index e56f500..c1af259 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.