aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:41:20 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:30 +0100
commitf45fd52cefaf84fab166dd9d25d12b87813f4882 (patch)
tree5641696944bc0d130bbc54e5d0979793e623d29d /qapi-schema.json
parentd71ca35dfc3da867fc25d2db4beb923b81669e35 (diff)
downloadqemu-f45fd52cefaf84fab166dd9d25d12b87813f4882.zip
qemu-f45fd52cefaf84fab166dd9d25d12b87813f4882.tar.gz
qemu-f45fd52cefaf84fab166dd9d25d12b87813f4882.tar.bz2
qmp-commands: move 'send-key' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index cf3b941..a1030e2 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4586,6 +4586,14 @@
#
# Since: 1.3.0
#
+# Example:
+#
+# -> { "execute": "send-key",
+# "arguments": { "keys": [ { "type": "qcode", "data": "ctrl" },
+# { "type": "qcode", "data": "alt" },
+# { "type": "qcode", "data": "delete" } ] } }
+# <- { "return": {} }
+#
##
{ 'command': 'send-key',
'data': { 'keys': ['KeyValue'], '*hold-time': 'int' } }