Re: [PATCH] escc: convert Sun mouse to use QemuInputHandler

2024-09-03 Thread Mark Cave-Ayland
On 03/09/2024 02:33, Carl Hauser via wrote: Well, I was wrong -- it is sending a duplicate mouse packets when the mouse wheel is rotated. The packets correctly represent the mouse buttons state. I just now discovered that one of my Logitech mice sends continuous mouse events when the wheel is

Re: [PATCH] escc: convert Sun mouse to use QemuInputHandler

2024-09-02 Thread Carl Hauser via
Well, I was wrong -- it is sending a duplicate mouse packets when the mouse wheel is rotated. The packets correctly represent the mouse buttons state. I just now discovered that one of my Logitech mice sends continuous mouse events when the wheel is rotated half a notch and held there. Another Logi

Re: [PATCH] escc: convert Sun mouse to use QemuInputHandler

2024-09-02 Thread Carl Hauser via
This still, but less frequently, shows the behavior of having the cursor leap downwards occasionally. I may not be able to work on debugging it until next week, but I'll try to see if I can figure it out sooner. The hypothesis with the old code was that it was sending floods of mouse messages and t

[PATCH] escc: convert Sun mouse to use QemuInputHandler

2024-09-02 Thread Mark Cave-Ayland
Update the Sun mouse implementation to use QemuInputHandler instead of the legacy qemu_add_mouse_event_handler() function. Note that this conversion adds extra sunmouse_* members to ESCCChannelState but they are not added to the migration stream (similar to the Sun keyboard members). If this were