[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] ui/input: fix event emitting of repeated com
From: |
Amos Kong |
Subject: |
Re: [Qemu-devel] [PATCH v2] ui/input: fix event emitting of repeated combined keys |
Date: |
Wed, 29 Oct 2014 15:12:51 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Sep 29, 2014 at 11:09:56AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > It doesn't matter, so users might release the modifier key or not.
> > we should make both works
> >
> > 1)
> > sendkey Ctrl-Scroll
> > sendkey Ctrl-Scroll
>
> Good to know this works.
>
> > 2)
> > sendkey Ctrl-Scroll-Scroll
>
> Why?
Quote from
http://msdn.microsoft.com/en-us/library/windows/hardware/ff545499(v=vs.85).aspx
The keyboard crash can be initiated by using the following hotkey
sequence: _Hold down_ the rightmost CTRL key, and press the SCROLL LOCK
key twice.
> This tries to squeeze something into the sendkey interface which
> it doesn't was designed for, and IMO this isn't a good idea, especially
> if we have something better at hand (marcelos patch).
My patch fixed this problem, but it's a hack. Marcelo's patch works in
(press/release) event level, it's more clear.
Thanks.
> cheers,
> Gerd
>
--
Amos.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2] ui/input: fix event emitting of repeated combined keys,
Amos Kong <=