1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

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>
This commit is contained in:
Simon Glass
2015-11-11 10:05:37 -07:00
parent 9961a0b6fb
commit b1d7a1875e
5 changed files with 101 additions and 15 deletions

View File

@@ -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.