commit | 4151a400cfcd4762ca422a04890cd5869bac155c | [log] [tgz] |
---|---|---|
author | Allen Martin <amartin@nvidia.com> | Tue Nov 06 13:26:03 2012 -0800 |
committer | Marek Vasut <marex@denx.de> | Tue Nov 20 00:16:06 2012 +0100 |
tree | d9d752c63ec145953b8fc685a28b00a6fe3e1622 | |
parent | 5ddcc38bee7c4e58197ff8de7919aca2532a8e03 [diff] |
USB: add arrow key support to usb_kbd Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. Control characters are used instead of ANSI sequence because the queueing code in usb_kbd doesn't handle the data increase when one keypress generates 3 keycodes. The real fix is to convert this driver to use the input subsystem and queue, but this allows arrow keys to work until this driver is converted. Signed-off-by: Allen Martin <amartin@nvidia.com>