ps2: fix mouse mappings for right/middle button
commited6f72b827fe99870d610d3697270a9858922186
authorFabian Lesniak <fabian@lesniak-it.de>
Sat, 4 Feb 2017 15:03:19 +0000 (4 16:03 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 20 Feb 2017 10:25:38 +0000 (20 11:25 +0100)
tree06e71b463d2f1b9f175a1dab559767804d2c22ec
parentad584d37f2a86b392c25f3f00cc1f1532676c2d1
ps2: fix mouse mappings for right/middle button

Commit 8b0caab0 ("ps2: add support for mice with extra/side buttons")
accidentally swapped right and middle mouse buttons. This commit corrects
the mapping as expected by the ps2 controller.

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