From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXStf-0005Tk-Vb for qemu-devel@nongnu.org; Fri, 26 Sep 2014 06:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXStZ-0008LD-R7 for qemu-devel@nongnu.org; Fri, 26 Sep 2014 06:37:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXStZ-0008Et-JQ for qemu-devel@nongnu.org; Fri, 26 Sep 2014 06:37:01 -0400 Message-ID: <1411727810.865.6.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Fri, 26 Sep 2014 12:36:50 +0200 In-Reply-To: <1411726999-26513-1-git-send-email-akong@redhat.com> References: <1411726999-26513-1-git-send-email-akong@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] ui/input: fix event emitting of repeated combined keys List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: qemu-devel@nongnu.org, aliguori@amazon.com, lcapitulino@redhat.com On Fr, 2014-09-26 at 18:23 +0800, Amos Kong wrote: > Currently we emit press events of combined keys first, then emit > release events by reverse order. But it doesn't match with physical > keyboard if the keys contain continued & repeated keys. > > For example, (qemu) sendkey a-b-b Hmm, somehow I don't feel like building too much magic into this. If you want send Ctrl-somekey twice just use two sendkey commands ... cheers, Gerd