提交 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
...
<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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册