mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
55a1d80a41
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>
19 lines
587 B
Makefile
19 lines
587 B
Makefile
common-obj-$(CONFIG_ADB) += adb.o
|
|
common-obj-y += hid.o
|
|
common-obj-$(CONFIG_LM832X) += lm832x.o
|
|
common-obj-$(CONFIG_PCKBD) += pckbd.o
|
|
common-obj-$(CONFIG_PL050) += pl050.o
|
|
common-obj-y += ps2.o
|
|
common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
|
|
common-obj-$(CONFIG_TSC2005) += tsc2005.o
|
|
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
|
|
obj-$(CONFIG_PXA2XX) += pxa2xx_keypad.o
|
|
obj-$(CONFIG_TSC210X) += tsc210x.o
|