Statistics
| Branch: | Revision:

root / input.c @ 17786d52

History | View | Annotate | Download (7.7 kB)

# Date Author Comment
46aaebff 06/14/2010 11:46 pm Jes Sorensen

un-register kbd driver in case of USB kbd unplug.

If a USB keyboard is unplugged, the keyboard eventhandler is never
removed, and events will continue to be passed through to the device,
causing crashes or memory corruption.

Signed-off-by: Jes Sorensen <>...

637503d1 06/01/2010 09:48 pm Luiz Capitulino

Monitor: Drop QMP documentation from code

Previous commit added QMP documentation to the qemu-monitor.hx
file, it's is a copy of this information.

While it's good to keep it near code, maintaining two copies of
the same information is too hard and has little benefit as we...

6fef28ee 03/19/2010 10:27 pm Anthony Liguori

Rewrite mouse handlers to use QTAILQ and to have an activation function

And convert usb-hid to use it (to avoid regression with bisection)

Right now, when we do info mice and we've added a usb tablet, we don't see it
until the guest starts using the tablet. We implement this behavior in order...

eb2e259d 03/19/2010 10:27 pm Anthony Liguori

Add kbd_mouse_has_absolute()

kbd_mouse_is_absolute tells us whether the current mouse handler is an absolute
device. kbd_mouse_has_absolute tells us whether we have any device that is
capable of absolute input.

This lets us tell a user that they have configured an absolute device but that...

7e581fb3 03/19/2010 10:27 pm Anthony Liguori

Add notifier for mouse mode changes

Right now, DisplayState clients rely on polling the mouse mode to determine
when the device is changed to an absolute device. Use a notification list to
add an explicit notification.

Signed-off-by: Anthony Liguori <>

1aaee43c 03/19/2010 10:27 pm Anthony Liguori

Expose whether a mouse is an absolute device via QMP and the human monitor.

For QMP, we just add an attribute which is backwards compatible. For the human
monitor, we add (absolute) to the end of the line.

Signed-off-by: Anthony Liguori <>

03a23a85 03/09/2010 04:47 pm Gerd Hoffmann

kbd leds: infrastructure

Adds infrastructure for keyboard led status tracking to qemu.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

8f0056b7 01/14/2010 01:14 am Paolo Bonzini

move kbd/mouse handling to input.c

Move 200 lines out of vl.c already into common code that only needs to
be compiled once.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>