diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-21 15:29:55 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-27 11:48:46 -0200 |
commit | e235cec3762d2aa20b548114ea7b172113690463 (patch) | |
tree | a7eda7c51ade1d852efe097431676d822c48bded /qapi-schema.json | |
parent | 694a099a542563f40116743c963066ce142a7755 (diff) |
qapi: Convert query-mice
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 5922c4a920..3175c82135 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -226,6 +226,36 @@ { 'command': 'query-commands', 'returns': ['CommandInfo'] } ## +# @MouseInfo: +# +# Information about a mouse device. +# +# @name: the name of the mouse device +# +# @index: the index of the mouse device +# +# @current: true if this device is currently receiving mouse events +# +# @absolute: true if this device supports absolute coordinates as input +# +# Since: 0.14.0 +## +{ 'type': 'MouseInfo', + 'data': {'name': 'str', 'index': 'int', 'current': 'bool', + 'absolute': 'bool'} } + +## +# @query-mice: +# +# Returns information about each active mouse device +# +# Returns: a list of @MouseInfo for each device +# +# Since: 0.14.0 +## +{ 'command': 'query-mice', 'returns': ['MouseInfo'] } + +## # @quit: # # This command will cause the QEMU process to exit gracefully. While every |