Skip to content
Snippets Groups Projects
Commit 4151a400 authored by Allen Martin's avatar Allen Martin Committed by Marek Vasut
Browse files

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: default avatarAllen Martin <amartin@nvidia.com>
parent 5ddcc38b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment