]> git.proxmox.com Git - mirror_qemu.git/commit
msmouse: Handle mouse reset
authorArwed Meyer <arwed.meyer@gmx.de>
Sun, 11 Sep 2022 18:18:36 +0000 (20:18 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 29 Sep 2022 10:38:05 +0000 (14:38 +0400)
commita39fe10557462648b8bee7aec5e24aad75ebd32d
tree6d28bbc15b4321353b7c9d23163dbedd4b123fa4
parentdbc4f48b5ab3e6d85f78aa4df6bd6ad561c3d152
msmouse: Handle mouse reset

Detect mouse reset via RTS or DTR line:
Don't send or process anything while in reset.
When coming out of reset, send ID sequence first thing.
This allows msmouse to be detected by common mouse drivers.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/77
Signed-off-by: Arwed Meyer <arwed.meyer@gmx.de>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220911181840.8933-2-arwed.meyer@gmx.de>
chardev/msmouse.c