aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-22 08:16:00 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-22 08:16:00 +0000
commit47b2d338d982c9e26b2af6b51c1cc0da7cbd2b60 (patch)
treeb67601f4c71027d5cb1ee2b1c4b6abb405edf0fd /vl.c
parent07cf0ba03b8dfec541c09e765283c417539fb618 (diff)
Add USB HID keyboard.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2996 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 271233a2f2..91b1c5a5b3 100644
--- a/vl.c
+++ b/vl.c
@@ -4319,7 +4319,9 @@ static int usb_device_add(const char *devname)
} else if (!strcmp(devname, "mouse")) {
dev = usb_mouse_init();
} else if (!strcmp(devname, "tablet")) {
- dev = usb_tablet_init();
+ dev = usb_tablet_init();
+ } else if (!strcmp(devname, "keyboard")) {
+ dev = usb_keyboard_init();
} else if (strstart(devname, "disk:", &p)) {
dev = usb_msd_init(p);
} else if (!strcmp(devname, "wacom-tablet")) {