yep, more dotfiles

neo-wiro-laptop: modify systemd boot patch to ignore empty keypresses

wiro.world ef7ff335 3310a80a

verified
+20 -3
+20 -3
nixos/hardware/systemd-boot-ignore-meta-key.patch
··· 1 - From 666eb563eabc461b55b348e997670cfde5e2a0d9 Mon Sep 17 00:00:00 2001 1 + From e5b9954ae07dc66f91a7eb87f51d601a85131673 Mon Sep 17 00:00:00 2001 2 2 From: Milo Moisson <milo@wiro.world> 3 3 Date: Mon, 29 Dec 2025 12:06:29 +0100 4 - Subject: [PATCH] disable key 4 + Subject: [PATCH] boot: ignore meta key in menu 5 5 6 6 --- 7 + src/boot/boot.c | 5 +++++ 7 8 src/boot/console.c | 4 ++-- 8 - 1 file changed, 2 insertions(+), 2 deletions(-) 9 + 2 files changed, 7 insertions(+), 2 deletions(-) 9 10 11 + diff --git a/src/boot/boot.c b/src/boot/boot.c 12 + index 3ff757c53d..254647b202 100644 13 + --- a/src/boot/boot.c 14 + +++ b/src/boot/boot.c 15 + @@ -671,6 +671,11 @@ static bool menu_run( 16 + break; 17 + } 18 + 19 + + /* Ignore shadow keypresses */ 20 + + if (key == KEYPRESS(0, 0, 0)) { 21 + + continue; 22 + + } 23 + + 24 + timeout_remain = 0; 25 + 26 + /* clear status after keystroke */ 10 27 diff --git a/src/boot/console.c b/src/boot/console.c 11 28 index 21b36e5a6e..7ca6664123 100644 12 29 --- a/src/boot/console.c