hw/misc/macio/cuda.c: erratic mouse fix
RFC PATCH 1/1 hw/misc/macio/cuda.c: erratic mouse fix
For everyone who is having a problem with the mouse pointer acting erratically, this patch should offer some relief. By decreasing the polling rate of the ADB mouse, the mouse pointer becomes more manageable. I was always able to reproduce the erratic mouse issue by playing an mp3 in QuickTime Player on a Mac OS 9.2 guest. With this patch the problem was almost unnoticeable.
Please let me know how well this works for you.
Note: I only have test this patch on a Mac OS X host running a Mac OS 9.2 guest. Hopefully it will fix the problem on Windows and Linux as well.
--- hw/misc/macio/cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/misc/macio/cuda.c +1 -1
@@ -911,7 +911,7 @@ static void cuda_realizefn(DeviceState *dev, Error **errp) s->tick_offset = (uint32_t )mktimegm (&tm) +RTC_OFFSET ; s->adb_poll_timer =timer_new_ns (QEMU_CLOCK_VIRTUAL , cuda_adb_poll, s); - s->autopoll_rate_ms =20 ; + s->autopoll_rate_ms =35 ; s->adb_poll_mask =0xffff ; }
Signature · 1 line
2.7.2