[PATCH] Nokia RX-51: Fix double space key press

Tom Rini trini at konsulko.com
Wed Oct 12 21:14:49 CEST 2022


On Sun, Oct 09, 2022 at 09:38:25PM +0200, Pali Rohár wrote:

> Space key is indicated by two different bits. Some HW models indicate press
> of space key only by the first bit. Qemu indicates it by both bits at the
> same time, which is currently interpreted by u-boot as double key press.
> 
> Fix this issue by setting first bit when only second is set (to support HW
> models which indicate press only by second bit) and always clearing second
> bit before processing to not report double space key press.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221012/29681403/attachment.sig>


More information about the U-Boot mailing list