[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/5] virtio-input: retrieve EV_LED host config bits
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 2/5] virtio-input: retrieve EV_LED host config bits |
Date: |
Mon, 11 Apr 2016 12:29:40 +0200 |
From: Ladi Prosek <address@hidden>
VIRTIO_INPUT_CFG_EV_BITS with subsel of EV_LED was always
returning an empty bitmap for pass-through input devices.
Signed-off-by: Ladi Prosek <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/input/virtio-input-host.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/input/virtio-input-host.c b/hw/input/virtio-input-host.c
index 9e0f46d..97b7dd6 100644
--- a/hw/input/virtio-input-host.c
+++ b/hw/input/virtio-input-host.c
@@ -125,6 +125,7 @@ static void virtio_input_host_realize(DeviceState *dev,
Error **errp)
virtio_input_bits_config(vih, EV_ABS, ABS_CNT);
virtio_input_bits_config(vih, EV_MSC, MSC_CNT);
virtio_input_bits_config(vih, EV_SW, SW_CNT);
+ virtio_input_bits_config(vih, EV_LED, LED_CNT);
qemu_set_fd_handler(vih->fd, virtio_input_host_event, NULL, vih);
return;
--
1.8.3.1
- [Qemu-devel] [PULL 0/5] virtio-input; live migration support, various bugfixes., Gerd Hoffmann, 2016/04/11
- [Qemu-devel] [PULL 2/5] virtio-input: retrieve EV_LED host config bits,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 1/5] virtio-input: add missing key mappings, Gerd Hoffmann, 2016/04/11
- [Qemu-devel] [PULL 3/5] virtio-input: implement pass-through evdev writes, Gerd Hoffmann, 2016/04/11
- [Qemu-devel] [PULL 4/5] virtio-input: add live migration support, Gerd Hoffmann, 2016/04/11
- [Qemu-devel] [PULL 5/5] virtio-input: fix emulated tablet axis ranges, Gerd Hoffmann, 2016/04/11
- Re: [Qemu-devel] [PULL 0/5] virtio-input; live migration support, various bugfixes., Peter Maydell, 2016/04/11