summaryrefslogtreecommitdiffstats
path: root/qapi/common.json
diff options
context:
space:
mode:
authorKevin Wolf2020-10-20 12:47:58 +0200
committerKevin Wolf2021-03-19 10:17:14 +0100
commit30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0 (patch)
tree4af9ea24e633ede2bfacd6705a0e6269ff22608e /qapi/common.json
parentqapi/qom: Add ObjectOptions for confidential-guest-support (diff)
downloadqemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.tar.gz
qemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.tar.xz
qemu-30e863e5a7a35fc5b2cfa933ddbc30f84b0415a0.zip
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.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json
index b87e7f9039..7c976296f0 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' ] }