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

2024-09-03 Thread Carl Hauser via
This works well. On Tue, Sep 3, 2024 at 1:38 PM Mark Cave-Ayland < mark.cave-ayl...@ilande.co.uk> wrote: > 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 ES

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

Re: [PATCH] hw/char: suppress sunmouse events with no changes

2024-08-21 Thread Carl Hauser via
More on whether the sunmouse_prev_state needs to be migrated. I think that if it were NOT included in the migration state the following would hold, assuming that it would be initialized to 0 in the "to" environment: 1. If prev_state is 0 in the "from" environment the prev_state in the "to" environm