[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 01/10][TRIVIAL] adb: add to input category
From: |
Laurent Vivier |
Subject: |
[Qemu-ppc] [PATCH 01/10][TRIVIAL] adb: add to input category |
Date: |
Sat, 26 Sep 2015 18:22:03 +0200 |
The Apple Desktop Bus is used to connect a keyboard and a mouse,
so add it to the input category.
Signed-off-by: Laurent Vivier <address@hidden>
---
hw/input/adb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/input/adb.c b/hw/input/adb.c
index a18eea2..09eead9 100644
--- a/hw/input/adb.c
+++ b/hw/input/adb.c
@@ -362,6 +362,7 @@ static void adb_kbd_class_init(ObjectClass *oc, void *data)
akc->parent_realize = dc->realize;
dc->realize = adb_kbd_realizefn;
+ set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
adc->devreq = adb_kbd_request;
dc->reset = adb_kbd_reset;
@@ -566,6 +567,7 @@ static void adb_mouse_class_init(ObjectClass *oc, void
*data)
amc->parent_realize = dc->realize;
dc->realize = adb_mouse_realizefn;
+ set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
adc->devreq = adb_mouse_request;
dc->reset = adb_mouse_reset;
--
2.4.3
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category, (continued)
- [Qemu-ppc] [PATCH 05/10][TRIVIAL] cuda: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 02/10][TRIVIAL] cmd646: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 08/10][TRIVIAL] macio: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 01/10][TRIVIAL] adb: add to input category,
Laurent Vivier <=
- [Qemu-ppc] [PATCH 09/10][TRIVIAL] macio-nvram: add to misc category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 03/10][TRIVIAL] escc: add to input category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 10/10][TRIVIAL] openpic: add to misc category, Laurent Vivier, 2015/09/26