[PATCH] input: don't queue keys while the input console isn't stdin
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 9 01:08:48 PST 2026
On Sun, 08 Nov 2026 14:40:37 +0100, Ahmad Fatoum wrote:
> Applications like bareDOOM take the keyboard over by registering their
> own input notifier and deactivating the input console. The input console
> notifier keeps queueing every key press into its FIFO all the same, so
> once the application exits and reactivates the console, the shell
> receives the last 32 keys pressed during the game.
>
> Let's only queue keys and start the key repeat while the console is
> actually active as stdin.
>
> [...]
Applied, thanks!
[1/1] input: don't queue keys while the input console isn't stdin
https://git.pengutronix.de/cgit/barebox/commit/?id=fc1c4aa8c477 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list