[Spice-devel] [Qemu-devel] paravirtual mouse/tablet

Anthony Liguori anthony at codemonkey.ws
Thu Jan 13 08:39:15 PST 2011


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;
>



More information about the Spice-devel mailing list