[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: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] Detect key modifier status in 'sleep --interruptible' |
Date: |
Mon, 24 Aug 2009 00:41:38 +0200 |
On Mon, Aug 24, 2009 at 12:27 AM, Robert Millan<address@hidden> wrote:
> On Wed, Aug 12, 2009 at 04:35:21PM +0100, Colin Watson wrote:
>> +static int
>> +grub_at_keyboard_keystatus (void)
>> +{
>> + /* FIXME: I don't know if getting key modifier status is possible without
>> + * BIOS help. */
>> + return 0;
>> +}
>> +
>
> What we do in these cases is leave the function pointer undefined, which
> means NULL value (and check this in the caller of course).
>
> But in at_keyboard it's definitely possible (check how we handle e.g. CTRL
> or SHIFT keys).
>
Exactly what I meant
> --
> Robert Millan
>
> The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
> how) you may access your data; but nobody's threatening your freedom: we
> still allow you to remove your data and not access it at all."
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', (continued)
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/26
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/26
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/26
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/28
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/28
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/13
Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/23