Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Anthony Liguori
That's absolutely awesome Brad! Good job! I'll see how it works with the new Xorg driver. Regards, Anthony Liguori Brad Campbell wrote: Brad Campbell wrote: Lonnie Mendez wrote: Please see the patch posted yesterday to this mailing list:

Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Anthony Liguori
Hi Brad, I have your patch applied and the previous one and it doesn't seem to work under win2k. Can you post a patch of what you have? I've got what I have attached. I did a little bit of SDL plumbing based on my touchscreen patch. Regards, Anthony Liguori Brad Campbell wrote: Brad

Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Brad Campbell
Anthony Liguori wrote: +kbd_mouse_abs_event(dx * 0x7FFF / width, + dy * 0x7FFF / height, I had just made that same mod to my tree.. solved the tracking problem perfectly. Now if only it would work under win98 without modification.. Look what I just stumbled

Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Brad Campbell
Anthony Liguori wrote: I wonder.. does windows switch over from ps2 to hid or just react to both and given hid is more positive about where it wants the mouse to go it wins ? I'm sure I've used a ps2 mouse and a usb mouse on windows before.. I'm thought they both worked at the same time. I

Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Brad Campbell
Anthony Liguori wrote: Final one of the night. This patch disables relative mouse reporting and disables grab automatically the first time SDL detects that the absolute mouse was enabled. Needs a lot of cleanup but I'm very happy with the user experience on this one. Perfect with a

Re: [Qemu-devel] Gentlemen we have absolute movement! was:Absolute USB-HID device musings (was Re: VNC Terminal Server)

2006-04-09 Thread Brad Campbell
Anthony Liguori wrote: Final one of the night. This patch disables relative mouse reporting and disables grab automatically the first time SDL detects that the absolute mouse was enabled. Needs a lot of cleanup but I'm very happy with the user experience on this one. Wish I'd just gone