/*
* 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 via email to