aboutsummaryrefslogtreecommitdiff
path: root/hw/input/Makefile.objs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-04-01 10:06:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-05-29 10:30:40 +0200
commit55a1d80a41032d6133adec041c0096820beaa1b7 (patch)
treed4eb032b9ad7fbb54c6b2766493b752da00f3490 /hw/input/Makefile.objs
parentf73ddbad397f98c1d476ffbf93d65af1cfa796e6 (diff)
downloadqemu-55a1d80a41032d6133adec041c0096820beaa1b7.zip
qemu-55a1d80a41032d6133adec041c0096820beaa1b7.tar.gz
qemu-55a1d80a41032d6133adec041c0096820beaa1b7.tar.bz2
virtio-input: emulated devices [device]
This patch adds the virtio-input-hid base class and virtio-{keyboard,mouse,tablet} subclasses building on the base class. They are hooked up to the qemu input core and deliver input events to the guest like all other hid devices (ps/2 kbd, usb tablet, ...). Using them is as simple as adding "-device virtio-tablet-device" to your command line, for use all transports except pci. virtio-pci support comes as separate patch, once virtio-pci got virtio 1.0 support. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/input/Makefile.objs')
-rw-r--r--hw/input/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs
index ee8bba9..0dae710 100644
--- a/hw/input/Makefile.objs
+++ b/hw/input/Makefile.objs
@@ -10,6 +10,7 @@ common-obj-$(CONFIG_VMMOUSE) += vmmouse.o
ifeq ($(CONFIG_LINUX),y)
common-obj-$(CONFIG_VIRTIO) += virtio-input.o
+common-obj-$(CONFIG_VIRTIO) += virtio-input-hid.o
endif
obj-$(CONFIG_MILKYMIST) += milkymist-softusb.o