From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Martin Date: Tue, 6 Nov 2012 14:55:42 -0800 Subject: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd In-Reply-To: <201211062349.30125.marex@denx.de> References: <1352237163-26765-1-git-send-email-amartin@nvidia.com> <201211062349.30125.marex@denx.de> Message-ID: <20121106225542.GB21647@badger> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 06, 2012 at 02:49:29PM -0800, Marek Vasut wrote: > Dear Allen Martin, > > > 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 > > If it's the real fix, then why not go for the real fix right away? :-( > It would be a lot more work to do that. This patch just adds support for 4 new keys without rocking the boat too much. I wasn't quite ready to signup to porting the whole driver over as there's a bunch things I want to work on inside tegra first. -Allen -- nvpublic