提交 19845402 编写于 作者: J Ján Tomko

Document the keyboard as a valid input type

Commit bc183733 added a new input type, but didn't change the
documentation.
上级 fe1b6e72
...@@ -3847,15 +3847,17 @@ qemu-kvm -net nic,model=? /dev/null ...@@ -3847,15 +3847,17 @@ qemu-kvm -net nic,model=? /dev/null
... ...
<devices> <devices>
<input type='mouse' bus='usb'/> <input type='mouse' bus='usb'/>
<input type='keyboard' bus='usb'/>
</devices> </devices>
...</pre> ...</pre>
<dl> <dl>
<dt><code>input</code></dt> <dt><code>input</code></dt>
<dd>The <code>input</code> element has one mandatory attribute, <dd>The <code>input</code> element has one mandatory attribute,
the <code>type</code> whose value can be either 'mouse' or the <code>type</code> whose value can be 'mouse', 'tablet' or
'tablet'. The latter provides absolute (<span class="since">since 1.2.2</span>) 'keyboard'.
cursor movement, while the former uses relative movement. The optional 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. <code>bus</code> attribute can be used to refine the exact device type.
It takes values "xen" (paravirtualized), "ps2" and "usb".</dd> It takes values "xen" (paravirtualized), "ps2" and "usb".</dd>
</dl> </dl>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册