From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdQE0-0001y1-LK for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:40:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdQDz-00087X-9i for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:40:36 -0500 Received: from mail-qw0-f45.google.com ([209.85.216.45]:48443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdQDz-00087J-5s for qemu-devel@nongnu.org; Thu, 13 Jan 2011 11:40:35 -0500 Received: by qwk4 with SMTP id 4so1952919qwk.4 for ; Thu, 13 Jan 2011 08:40:34 -0800 (PST) Message-ID: <4D2F2AB3.4020907@codemonkey.ws> Date: Thu, 13 Jan 2011 10:39:15 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] paravirtual mouse/tablet References: <4D2ED1C8.7070304@redhat.com> <4D2F1FA3.5030701@codemonkey.ws> <4D2F24EE.6070505@redhat.com> In-Reply-To: <4D2F24EE.6070505@redhat.com> 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: Avi Kivity Cc: spice-devel , Gerd Hoffmann , "qemu-devel@nongnu.org" On 01/13/2011 10:14 AM, Avi Kivity wrote: > On 01/13/2011 05:52 PM, Anthony Liguori wrote: >> >> /* host->guest, sent before any other events */ >> typedef struct qemu_pvtablet_init { >> uint32_t res_x; /* x axis resolution */ >> uint32_t res_y; /* y axis resolution */ >> uint32_t features; /* qemu_pvtablet_features */ > > uint32_t available_buttons; /* bitmask */ Yes, I had intended to do that but left it out. Should it be a bitmask or just a button count? Buttons really have no standard meaning so usually a button count is sufficient. Regards, Anthony Liguori > >> } qemu_pvtablet_init; >