From 50c6617fcbef649674b59f686b12dccfc455ffa3 Mon Sep 17 00:00:00 2001 From: Marcelo Tosatti Date: Tue, 30 Sep 2014 18:10:17 -0300 Subject: 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 Reviewed-by: Eric Blake Signed-off-by: Gerd Hoffmann --- qapi-schema.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index 4bfaf20ebe..2e9e261e0c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3232,6 +3232,23 @@ 'rel' : 'InputMoveEvent', '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 # -- cgit v1.2.1