Add kbd_mouse_has_absolute()
commiteb2e259d95a67ef0cd8a61c0bd4974559e9bfa5d
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 20:26:40 +0000 (9 14:26 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Mar 2010 20:27:38 +0000 (19 15:27 -0500)
tree7fdf802c2a6078812dcf0146f32db700ec55b490
parent6fef28ee6e5e0a443857e67aa026d49b6bbdc1b6
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
the guest is not currently using it.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
console.h
input.c