|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] paravirtual tablet v2 |
Date: | Fri, 14 Jan 2011 15:23:38 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Red Hat/3.1.7-3.el6_0 Thunderbird/3.1.7 |
/* * 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
[Prev in Thread] | Current Thread | [Next in Thread] |