]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-input: fix emulated tablet axis ranges
authorLadi Prosek <lprosek@redhat.com>
Fri, 8 Apr 2016 15:21:33 +0000 (17:21 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 13 Apr 2016 13:52:28 +0000 (15:52 +0200)
commit0263b3a72fbd2ac9ba59ecc2449a9bc53ccf6fb3
tree735ddcd826a5a287013d956a1f1e407c2741cb4b
parent2d738374665ede5b7c08545e5b44a411e7c3e943
virtio-input: fix emulated tablet axis ranges

The reported maximum was wrong. The X and Y coordinates are 0-based
so if size is 8000 maximum must be 7FFF.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Message-id: 1460128893-10244-1-git-send-email-lprosek@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/virtio-input-hid.c