mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-22 07:28:36 -07:00
virtio-input: core code & base class [device]
This patch adds virtio-input support to qemu. It brings a abstract base class providing core support, other classes can build on it to actually implement input devices. virtio-input basically sends linux input layer events (evdev) over virtio. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2fe7c31832
commit
f73ddbad39
4 changed files with 371 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ int virtio_set_features(VirtIODevice *vdev, uint32_t val);
|
|||
typedef struct VirtIOBlkConf VirtIOBlkConf;
|
||||
struct virtio_net_conf;
|
||||
typedef struct virtio_serial_conf virtio_serial_conf;
|
||||
typedef struct virtio_input_conf virtio_input_conf;
|
||||
typedef struct VirtIOSCSIConf VirtIOSCSIConf;
|
||||
typedef struct VirtIORNGConf VirtIORNGConf;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue