Document the keyboard as a valid input type

Commit bc18373 added a new input type, but didn't change the
documentation.
This commit is contained in:
Ján Tomko 2014-02-24 10:50:14 +01:00
parent fe1b6e72d2
commit 1984540206

View File

@ -3847,15 +3847,17 @@ qemu-kvm -net nic,model=? /dev/null
...
<devices>
<input type='mouse' bus='usb'/>
<input type='keyboard' bus='usb'/>
</devices>
...</pre>
<dl>
<dt><code>input</code></dt>
<dd>The <code>input</code> element has one mandatory attribute,
the <code>type</code> whose value can be either 'mouse' or
'tablet'. The latter provides absolute
cursor movement, while the former uses relative movement. The optional
the <code>type</code> whose value can be 'mouse', 'tablet' or
(<span class="since">since 1.2.2</span>) 'keyboard'.
The tablet provides absolute cursor movement,
while the mouse uses relative movement. The optional
<code>bus</code> attribute can be used to refine the exact device type.
It takes values "xen" (paravirtualized), "ps2" and "usb".</dd>
</dl>