Skip to contentSkip to conversation

Mouse click queue patch

Qemu-devel Joao Luis Meloni Assirati 3 participants 4 messages May 22, 2008 – May 23, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I am a qemu user and would like to recommend Stefano Stabellini's mouse click queue patch that can be found in

http://marc.info/?l=qemu-devel&m=120152164232624&w=2

I am using it with qemu 0.9.1, windows xp guest and linux host. IMO this patch should be merged to qemu. Before this patch, missed double clicks were common. Now I never miss any double click.

Regards,
João Luis Meloni Assirati.

#1 lore raw

Joao Luis Meloni Assirati writes ("[Qemu-devel] Mouse click queue

Quoted 4 lines

patch"): I am a qemu user and would like to recommend Stefano Stabellini's mouse click queue patch that can be found in

http://marc.info/?l=qemu-devel&m=120152164232624&w=2

Sorry to throw spanners, but I have a different mouse queue patch in preparation. Xen's qemu has a version of this already; I was holding off pushing it upstream until I had successfully tested some of the results of my merge.

My patch is entirely in usb-hid. It queues events, coalescing adjacent events which don't contain any button changes so as to avoid generating a huge queue. It also manages to mostly unify the USB tablet and mouse handling.

Ian.

#2 lore raw
Quoted 8 lines · Ian Jackson

Joao Luis Meloni Assirati writes ("[Qemu-devel] Mouse click queue

Quoted 5 lines

patch"): I am a qemu user and would like to recommend Stefano

Stabellini's mouse click queue patch that can be found in

http://marc.info/?l=qemu-devel&m=120152164232624&w=2

Quoted 6 lines

Sorry to throw spanners, but I have a different mouse queue patch in
preparation. Xen's qemu has a version of this already; I was holding off pushing it upstream until I had successfully tested some of the results of my merge.

My patch is entirely in usb-hid. It queues events, coalescing

Why should it be in usb-hid? It is a generic issue.

Regards

Signature · 2 lines
Please do not print this email unless absolutely necessary. Spread
environmental awareness.
#3 lore raw

andrzej zaborowski writes ("Re: [Qemu-devel] Mouse click queue patch"):

Quoted 4 lines · Ian Jackson
Quoted 1 line

My patch is entirely in usb-hid. It queues events, coalescing

Why should it be in usb-hid? It is a generic issue.

Good question. Ultimately because the way the queue is read is very intertwined with the limits on sizes in USB packets.

It would be quite feasible to split it up and have the rest not be in usb-hid. But if I do that, to avoid a great deal of unnecessary to-ing and fro-ing, the little queue still wants to be a transparent structure rather than an opaque one.

Ian.