diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-10-20 12:47:58 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-03-19 10:17:14 +0100 |
commit | 30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0 (patch) | |
tree | 4af9ea24e633ede2bfacd6705a0e6269ff22608e /qapi/common.json | |
parent | 590466f056c4f2a7ff87ed751cece4f4ff02fd57 (diff) | |
download | qemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.zip qemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.tar.gz qemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.tar.bz2 |
qapi/qom: Add ObjectOptions for input-*
This adds a QAPI schema for the properties of the input-* objects.
ui.json cannot be included in qom.json because the storage daemon can't
use it, so move GrabToggleKeys to common.json.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi/common.json')
-rw-r--r-- | qapi/common.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json index b87e7f9..7c97629 100644 --- a/qapi/common.json +++ b/qapi/common.json @@ -185,3 +185,15 @@ ## { 'enum': 'NetFilterDirection', 'data': [ 'all', 'rx', 'tx' ] } + +## +# @GrabToggleKeys: +# +# Keys to toggle input-linux between host and guest. +# +# Since: 4.0 +# +## +{ 'enum': 'GrabToggleKeys', + 'data': [ 'ctrl-ctrl', 'alt-alt', 'shift-shift','meta-meta', 'scrolllock', + 'ctrl-scrolllock' ] } |