input: Add ANSI 3.64 escape sequence generation.
authorHung-Te Lin <hungte@chromium.org>
Thu, 11 Oct 2012 15:15:53 +0000 (15:15 +0000)
committerTom Rini <trini@ti.com>
Fri, 19 Oct 2012 22:25:44 +0000 (15:25 -0700)
commit44abe47debc783396ec48d929844dcf1106b72f3
tree65d1c568313c22e62b9805e5d0cac26e2dc92855
parent59a1b72ced4f3eff6e7e26e566e6090a5e25d384
input: Add ANSI 3.64 escape sequence generation.

To support Non-ASCII keys (ex, Fn, PgUp/Dn, arrow keys, ...), we need to
translate key code into escape sequence.

(Updated by sjg@chromium.org to move away from a function to store
keycodes, so we can easily record how many were sent. We now need to
return this from input_send_keycodes() so we know whether keys were
generated.)

Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/input/input.c
include/input.h