Show Table of Contents
20.16.10. Input Devices
Input devices allow interaction with the graphical framebuffer in the guest virtual machine virtual machine. When enabling the framebuffer, an input device is automatically provided. It may be possible to add additional devices explicitly, for example, to provide a graphics tablet for absolute cursor movement.
To specify the input devices configuration settings, use a management tool to make the following changes to the domain XML:
...
<devices>
<input type='mouse' bus='usb'/>
</devices>
...
Figure 20.54. Input devices
The
<input> element has one mandatory attribute: type which can be set to: mouse or tablet. The latter provides absolute cursor movement, while the former uses relative movement. The optional bus attribute can be used to refine the exact device type and can be set to: xen (paravirtualized), ps2, and usb.
The input element has an optional sub-element
<address>, which can tie the device to a particular PCI slot, as documented above.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.