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 [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel