Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Gao,Shiyuan
> Hi > > On Mon, Jul 17, 2023 at 5:43 PM Gao,Shiyuan wrote: > > > > Hi > > > > > > On Mon, Jul 17, 2023 at 4:53 PM Gao,Shiyuan > > wrote: > > > > > > > > > > > > > > > > > > So move the guest mouse pointer to (0, 0) of the screen when > > connect > > > > the > > > > > > > > VNC, and then move

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Marc-André Lureau
Hi On Mon, Jul 17, 2023 at 5:43 PM Gao,Shiyuan wrote: > > Hi > > > > On Mon, Jul 17, 2023 at 4:53 PM Gao,Shiyuan > wrote: > > > > > > > > > > > > > > > So move the guest mouse pointer to (0, 0) of the screen when > connect > > > the > > > > > > > VNC, and then move the mouse pointer to the

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Gao,Shiyuan
> Hi > > On Mon, Jul 17, 2023 at 4:53 PM Gao,Shiyuan wrote: > > > > > > > > > > > > So move the guest mouse pointer to (0, 0) of the screen when connect > > the > > > > > > VNC, and then move the mouse pointer to the cursor of VNC(absolute > > > > > > coordinates are also relative coordinates). >

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Marc-André Lureau
Hi On Mon, Jul 17, 2023 at 4:53 PM Gao,Shiyuan wrote: > > > > > > > > > So move the guest mouse pointer to (0, 0) of the screen when connect > the > > > > > VNC, and then move the mouse pointer to the cursor of VNC(absolute > > > > > coordinates are also relative coordinates). > > > > > > > > >

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Gao,Shiyuan
> On Mon, Jul 17, 2023 at 10:59:36AM +0800, Shiyuan Gao wrote: > > When only use PS/2 mouse without usb-tablet, the mouse pointer of the > > guest on the VNC will work badly that the cursor of VNC is inconsistent > > with the mouse pointer of guest. > > > > The reason is the PS/2 mouse use

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Gao,Shiyuan
> > > > > > > So move the guest mouse pointer to (0, 0) of the screen when connect the > > > > VNC, and then move the mouse pointer to the cursor of VNC(absolute > > > > coordinates are also relative coordinates). > > > > > > > > > > > It's hardly a solution, you still have no clue what will be

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Daniel P . Berrangé
On Mon, Jul 17, 2023 at 01:16:41PM +0400, Marc-André Lureau wrote: > Hi > > On Mon, Jul 17, 2023 at 12:54 PM Gao,Shiyuan wrote: > > > Hi, > > > Hi Shiyuan > > > > > > On Mon, Jul 17, 2023 at 7:16 AM Shiyuan Gao > > wrote: > > > > > > > When only use PS/2 mouse without usb-tablet, the mouse

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Daniel P . Berrangé
On Mon, Jul 17, 2023 at 10:59:36AM +0800, Shiyuan Gao wrote: > When only use PS/2 mouse without usb-tablet, the mouse pointer of the > guest on the VNC will work badly that the cursor of VNC is inconsistent > with the mouse pointer of guest. > > The reason is the PS/2 mouse use relative

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Marc-André Lureau
Hi On Mon, Jul 17, 2023 at 12:54 PM Gao,Shiyuan wrote: > Hi, > > Hi Shiyuan > > > > On Mon, Jul 17, 2023 at 7:16 AM Shiyuan Gao > wrote: > > > > > When only use PS/2 mouse without usb-tablet, the mouse pointer of the > > > guest on the VNC will work badly that the cursor of VNC is inconsistent

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Gao,Shiyuan
Hi, > Hi Shiyuan > > On Mon, Jul 17, 2023 at 7:16 AM Shiyuan Gao wrote: > > > When only use PS/2 mouse without usb-tablet, the mouse pointer of the > > guest on the VNC will work badly that the cursor of VNC is inconsistent > > with the mouse pointer of guest. > > > > > Afaik, VNC doesn't support

Re: [PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-17 Thread Marc-André Lureau
Hi Shiyuan On Mon, Jul 17, 2023 at 7:16 AM Shiyuan Gao wrote: > When only use PS/2 mouse without usb-tablet, the mouse pointer of the > guest on the VNC will work badly that the cursor of VNC is inconsistent > with the mouse pointer of guest. > > Afaik, VNC doesn't support client-side drawing

[PATCH] vnc,ps2: fix the PS/2 mouse work badly when connect VNC

2023-07-16 Thread Shiyuan Gao
When only use PS/2 mouse without usb-tablet, the mouse pointer of the guest on the VNC will work badly that the cursor of VNC is inconsistent with the mouse pointer of guest. The reason is the PS/2 mouse use relative coordinates and we can't know the initial position of the guest mouse pointer.