All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: spice-devel <spice-devel@lists.freedesktop.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] paravirtual tablet v2
Date: Fri, 14 Jan 2011 15:23:38 +0100	[thread overview]
Message-ID: <4D305C6A.8010609@redhat.com> (raw)
In-Reply-To: <4D305B1A.3030801@codemonkey.ws>


>> /*
>> * QEMU_PVTABLET_MSG_BTN_{DOWN,UP}, host -> guest
>> * send button press+release events
>> */
>> typedef struct qemu_pvtablet_button {
>> uint32_t button;
>> uint32_t mask;
>> } qemu_pvtablet_button;
>
> What's the semantic of button and mask? I'd assume that mask is the new
> button mask but then I'm not sure what button is used for.

"button" is the index of the button which was pressed (BTN_DOWN) or 
released (BTN_UP).  "mask" is the new button mask.

cheers,
   Gerd

      reply	other threads:[~2011-01-14 14:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 12:02 [Qemu-devel] paravirtual tablet v2 Gerd Hoffmann
2011-01-14 14:18 ` Anthony Liguori
2011-01-14 14:23   ` Gerd Hoffmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D305C6A.8010609@redhat.com \
    --to=kraxel@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=spice-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.