From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33015 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdmZX-0000r6-BA for qemu-devel@nongnu.org; Fri, 14 Jan 2011 11:32:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdmZE-0005hp-SL for qemu-devel@nongnu.org; Fri, 14 Jan 2011 11:32:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdmZE-0005hN-If for qemu-devel@nongnu.org; Fri, 14 Jan 2011 11:32:00 -0500 Message-ID: <4D307A7B.2080809@redhat.com> Date: Fri, 14 Jan 2011 17:31:55 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] paravirtual mouse/tablet References: <4D2ED1C8.7070304@redhat.com> <4D2F1FA3.5030701@codemonkey.ws> <4D2F24EE.6070505@redhat.com> <4D2F2AB3.4020907@codemonkey.ws> <4D30332F.2070003@redhat.com> <108D35F5-7E49-4598-8903-599190A885E1@suse.de> <4D306819.80405@redhat.com> <5A4EDCB0-73BD-435F-B90E-7DE49B6DE660@suse.de> <6AC84F56-A180-49A5-AE31-C06DCC7AE986@suse.de> In-Reply-To: <6AC84F56-A180-49A5-AE31-C06DCC7AE986@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: spice-devel , Avi Kivity , "qemu-devel@nongnu.org Developers" Hi, >>> For a simple tablet pressure and index would just be 0. >> >> For a simple tablet pressure would be MAX and index would be 0. But yes, I like the idea :). > > 0 for non-presses of course :). Sorry Right ;) There are three cases: (1) no pressure supported (i.e. your mouse moving around in the vnc window and qemu reporting this as tablet coordinates). (2) just pen/finger present/not present supported. pressure jumps between 0 and max (and we can make max == 1 in that case). (3) real pressure measurement. Will send out v3 shortly. cheers, Gerd