]> Git Repo - qemu.git/commitdiff
qmp-commands: move 'send-key' doc to schema
authorMarc-André Lureau <[email protected]>
Thu, 23 Jun 2016 11:41:20 +0000 (13:41 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 16 Jan 2017 08:15:30 +0000 (09:15 +0100)
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
docs/qmp-commands.txt
qapi-schema.json

index 1fe4f40cff294a37c3bf5857abc81e8cb4d39e03..38ccf8405b80c7f6ff751e2a3a77713dd924ae9c 100644 (file)
@@ -111,28 +111,6 @@ Notes:
 (2) It's possible to list device properties by running QEMU with the
     "-device DEVICE,\?" command-line argument, where DEVICE is the device's name
 
-send-key
-----------
-
-Send keys to VM.
-
-Arguments:
-
-keys array:
-    - "key": key sequence (a json-array of key union values,
-             union can be number or qcode enum)
-
-- hold-time: time to delay key up events, milliseconds. Defaults to 100
-             (json-int, optional)
-
-Example:
-
--> { "execute": "send-key",
-     "arguments": { "keys": [ { "type": "qcode", "data": "ctrl" },
-                              { "type": "qcode", "data": "alt" },
-                              { "type": "qcode", "data": "delete" } ] } }
-<- { "return": {} }
-
 cpu
 ---
 
index cf3b9411acea31b4184ce207842a2b010e8d9a75..a1030e2d319f149e5f14f3eeffc226c435039976 100644 (file)
 #
 # 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' } }
This page took 0.041678 seconds and 4 git commands to generate.