Re: [RESEND PATCH] hw/i386/vmmouse:add relative packet flag for button status

2023-08-01 Thread Marc-André Lureau
On Tue, Aug 1, 2023 at 9:45 AM Zongmin Zhou wrote: > > The buttons value use macros instead of direct numbers. > > If request relative mode, have to add this for > guest vmmouse driver to judge this is a relative packet. > otherwise,vmmouse driver will not match > the condition 'status & VMMOUSE_R

[RESEND PATCH] hw/i386/vmmouse:add relative packet flag for button status

2023-07-31 Thread Zongmin Zhou
The buttons value use macros instead of direct numbers. If request relative mode, have to add this for guest vmmouse driver to judge this is a relative packet. otherwise,vmmouse driver will not match the condition 'status & VMMOUSE_RELATIVE_PACKET', and can't report events on the correct(relative)

[PATCH] hw/i386/vmmouse:add relative packet flag for button status

2023-04-13 Thread Zongmin Zhou
The buttons value use macros instead of direct numbers. If request relative mode, have to add this for guest vmmouse driver to judge this is a relative packet. otherwise,vmmouse driver will not match the condition 'status & VMMOUSE_RELATIVE_PACKET', and can't report events on the correct(relative)