]> git.sur5r.net Git - u-boot/commit
input: Add generic keyboard input handler
authorSimon Glass <sjg@chromium.org>
Tue, 17 Apr 2012 09:01:30 +0000 (09:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:39 +0000 (08:31 +0200)
commit9bc590e5119f38fd822dedb16e3e0e2363f09756
tree96fdd4bc490dd4e528d56b19fec3b6dbb08be2be
parentd81e270d95da63e1ff5147dd9ba0a9d99e8974af
input: Add generic keyboard input handler

Add a module which understands converting key codes (or scan codes)
to ASCII characters. It includes FIFO support and can call back to
drivers to read new characters when its FIFO is empty.

Keycode maps are provided for un-modified, shift and ctrl keys.

The plan is to use this module where such mapping is required.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/input/Makefile
drivers/input/input.c [new file with mode: 0644]
include/input.h [new file with mode: 0644]