]> git.proxmox.com Git - mirror_qemu.git/commit
ps2: add support for mice with extra/side buttons
authorFabian Lesniak <fabian@lesniak-it.de>
Tue, 6 Dec 2016 19:00:06 +0000 (20:00 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 31 Jan 2017 07:14:51 +0000 (08:14 +0100)
commit8b0caab07bf0056f44b52eb335faa45f07b7e1a6
tree5d3463486590f086e3a6ff1217bace97474bc9ac
parent0095cc62b6803d5e2cb8cb27e5b14657d9dc0c95
ps2: add support for mice with extra/side buttons

This enables the ps2 controller to process mouse events for buttons 4 and 5.
Additionally, distinct definitions for the ps2 mouse button state are
introduced. The legacy definitions from console.h are not used anymore.

Signed-off-by: Fabian Lesniak <fabian@lesniak-it.de>
Message-id: 20161206190007.7539-3-fabian@lesniak-it.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/ps2.c
include/hw/input/ps2.h