[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Detect key modifier status in 'sleep --interruptible'

From: Colin Watson
Subject: Re: [PATCH] Detect key modifier status in 'sleep --interruptible'
Date: Mon, 24 Aug 2009 13:59:47 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Aug 24, 2009 at 01:57:26PM +0200, Robert Millan wrote:
> On Mon, Aug 24, 2009 at 10:11:10AM +0100, Colin Watson wrote:
> > No, that code only spots make scan codes arriving after GRUB's terminal
> > starts up. AFAICS it has no way to tell whether e.g. Shift was held down
> > already when GRUB started
> Ah, you're right on this..
> > (except through the vagaries of key repeat),
> ..but on this too.  Why not check for key repeat?  The controller generates
> them for all keys AFAIK.

If you want a delay of zero (i.e. "is Shift pressed? no? OK, boot
immediately with no delay"), how long should you wait for key repeat? If
there's a sensible answer to that question (IIRC key repeat speed is
sometimes configurable in the BIOS) then we could do that ...

Colin Watson                                       address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]