Lowercase them. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- qapi-schema.json | 5 +---- qmp-commands.hx | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json index 511702f..35ef71c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3672,12 +3672,9 @@ # Position axis of a pointer input device (mouse, tablet). # # Since: 2.0 -# -# Note that the spelling of these values may change when the -# x-input-send-event is promoted out of experimental status. ## { 'enum' : 'InputAxis', - 'data' : [ 'X', 'Y' ] } + 'data' : [ 'x', 'y' ] } ## # @InputKeyEvent diff --git a/qmp-commands.hx b/qmp-commands.hx index 00bf6df..b9154b5 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -4660,8 +4660,8 @@ Move mouse pointer to absolute coordinates (20000, 400). -> { "execute": "x-input-send-event" , "arguments": { "events": [ - { "type": "abs", "data" : { "axis": "X", "value" : 20000 } }, - { "type": "abs", "data" : { "axis": "Y", "value" : 400 } } ] } } + { "type": "abs", "data" : { "axis": "x", "value" : 20000 } }, + { "type": "abs", "data" : { "axis": "y", "value" : 400 } } ] } } <- { "return": {} } EQMP -- 1.8.3.1