aboutsummaryrefslogtreecommitdiff
path: root/hw/input/virtio-input.c
diff options
context:
space:
mode:
authorLadi Prosek <lprosek@redhat.com>2016-04-08 17:21:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-04-13 15:52:28 +0200
commit0263b3a72fbd2ac9ba59ecc2449a9bc53ccf6fb3 (patch)
tree735ddcd826a5a287013d956a1f1e407c2741cb4b /hw/input/virtio-input.c
parent2d738374665ede5b7c08545e5b44a411e7c3e943 (diff)
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>
Diffstat (limited to 'hw/input/virtio-input.c')
0 files changed, 0 insertions, 0 deletions