[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] Improve Cocoa modifier key handling
From: |
Ian McKellar |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] Improve Cocoa modifier key handling |
Date: |
Fri, 26 May 2017 23:39:17 +0000 |
Sent another patch that does a better job of toggling caps-lock. I couldn't
make it fail with the old patch but I think the new patch is somewhat
better.
Ian
On Tue, May 23, 2017 at 11:17 PM Gerd Hoffmann <address@hidden> wrote:
> Hi,
>
> > After a little more experimentation I think that the approach in this
> > patch is the right one. modifierFlags doesn't[1] indicate which
> > instance of a modifier (ie: left or right) is being held.
>
> Ok, makes sense. One more thing: I think capslock must be handled
> differently as keydown + keyup toggle state.
>
> cheers,
> Gerd
>
>