aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2014-09-30 18:10:17 -0300
committerGerd Hoffmann <kraxel@redhat.com>2014-10-02 09:58:14 +0200
commit50c6617fcbef649674b59f686b12dccfc455ffa3 (patch)
treed6e0907719850ff9a5e8d8cffba470f3738dd2ec /qapi-schema.json
parente37f20245080b4fa77aa312b01853dab42be85a9 (diff)
downloadqemu-arm-50c6617fcbef649674b59f686b12dccfc455ffa3.tar.gz
add input-send-event command
Which allows specification of absolute/relative, up/down and console parameters. Suggested by Gerd Hoffman. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 4bfaf20ebe..2e9e261e0c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3233,6 +3233,23 @@
'abs' : 'InputMoveEvent' } }
##
+# @input-send-event
+#
+# Send input event(s) to guest.
+#
+# @console: Which console to send event(s) to.
+#
+# @events: List of InputEvent union.
+#
+# Returns: Nothing on success.
+#
+# Since: 2.2
+#
+##
+{ 'command': 'input-send-event',
+ 'data': { 'console':'int', 'events': [ 'InputEvent' ] } }
+
+##
# @NumaOptions
#
# A discriminated record of NUMA options. (for OptsVisitor)