virtio-input: support absolute axis config in pass-through
commitb065e275a8066c3ec478f326f39c5fc3c9db103c
authorLadi Prosek <lprosek@redhat.com>
Wed, 13 Apr 2016 14:43:23 +0000 (13 16:43 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 13 Apr 2016 15:26:12 +0000 (13 17:26 +0200)
treeab230587f8185988ab0921389690d7b333800269
parentce47d3d4270e9c0f87cd9a3982f1a40a4514c6e3
virtio-input: support absolute axis config in pass-through

VIRTIO_INPUT_CFG_ABS_INFO was not implemented for pass-through input
devices. This patch follows the existing design and pre-fetches the
config for all absolute axes using EVIOCGABS at realize time.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Message-id: 1460558603-18331-1-git-send-email-lprosek@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/virtio-input-host.c
hw/input/virtio-input.c
include/hw/virtio/virtio-input.h