Skip to content

Commit

Permalink
qmp: fix typo in input-send-event examples
Browse files Browse the repository at this point in the history
Lack of two closed bracket in json commands.

Signed-off-by: Amos Kong <akong@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
amoskong authored and Michael Tokarev committed Dec 10, 2014
1 parent 7fb8da2 commit b5369dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qmp-commands.hx
Expand Up @@ -3820,13 +3820,13 @@ Press left mouse button.
-> { "execute": "x-input-send-event",
"arguments": { "console": 0,
"events": [ { "type": "btn",
"data" : { "down": true, "button": "Left" } } } }
"data" : { "down": true, "button": "Left" } } ] } }
<- { "return": {} }

-> { "execute": "x-input-send-event",
"arguments": { "console": 0,
"events": [ { "type": "btn",
"data" : { "down": false, "button": "Left" } } } }
"data" : { "down": false, "button": "Left" } } ] } }
<- { "return": {} }

Example (2):
Expand Down

0 comments on commit b5369dd

Please sign in to comment.