u-boot/drivers/input
Simon Glass 3a85e4362a input: Add a function to add a keycode to the existing set
Most keyboards can be scanned to produce a list of the keycodes which are
depressed. With the i8042 keyboard this scanning is done internally and
only the processed results are returned.

In this case, when a key is pressed, a 'make' code is sent. When the key
is released a 'break' code is sent. This means that the driver needs to
keep track of which keys are pressed. It also means that any protocol error
can lead to stuck keys.

In order to support this type of keyboard, add a function when can be used
to provide a single keycode and either add it to the list of what is pressed
or remove it from the list. Then the normal input_send_keycodes() function
can be used to actually do the decoding work.

Add debugging to display the ASCII characters written to the input queue
also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2015-11-19 20:13:40 -07:00
..
cros_ec_keyb.c dm: cros_ec: Convert cros_ec keyboard driver to driver model 2015-11-19 20:13:40 -07:00
i8042.c i8042: Adjust keyboard init to assume success 2015-11-19 20:13:40 -07:00
input.c input: Add a function to add a keycode to the existing set 2015-11-19 20:13:40 -07:00
Kconfig dm: input: Create a keyboard uclass 2015-11-19 20:13:39 -07:00
key_matrix.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
keyboard-uclass.c dm: input: Create a keyboard uclass 2015-11-19 20:13:39 -07:00
keyboard.c video: Drop DEV_FLAGS_SYSTEM flag 2015-11-05 08:22:21 +01:00
Makefile dm: input: Create a keyboard uclass 2015-11-19 20:13:39 -07:00
pc_keyb.c License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
ps2mult.c License cleanup: remove unintended "All Rights Reserved" notices. 2009-09-04 23:00:56 +02:00
ps2ser.c ppc: Move mpc5xxx clocks to arch_global_data 2013-02-04 09:05:43 -05:00
tegra-kbc.c dm: tegra: Convert keyboard driver to driver model 2015-11-19 20:13:40 -07:00
twl4030.c input: twl4030: Keypad scan and input 2015-08-12 20:47:36 -04:00