From 47b2d338d982c9e26b2af6b51c1cc0da7cbd2b60 Mon Sep 17 00:00:00 2001 From: balrog Date: Fri, 22 Jun 2007 08:16:00 +0000 Subject: Add USB HID keyboard. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2996 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vl.c') 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")) { -- cgit v1.2.3