提交 01df5143 编写于 作者: G Gerd Hoffmann

qapi: rename InputAxis values.

Lowercase them.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
上级 f22d0af0
...@@ -3753,12 +3753,9 @@ ...@@ -3753,12 +3753,9 @@
# Position axis of a pointer input device (mouse, tablet). # Position axis of a pointer input device (mouse, tablet).
# #
# Since: 2.0 # 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', { 'enum' : 'InputAxis',
'data' : [ 'X', 'Y' ] } 'data' : [ 'x', 'y' ] }
## ##
# @InputKeyEvent # @InputKeyEvent
......
...@@ -4717,8 +4717,8 @@ Move mouse pointer to absolute coordinates (20000, 400). ...@@ -4717,8 +4717,8 @@ Move mouse pointer to absolute coordinates (20000, 400).
-> { "execute": "x-input-send-event" , -> { "execute": "x-input-send-event" ,
"arguments": { "events": [ "arguments": { "events": [
{ "type": "abs", "data" : { "axis": "X", "value" : 20000 } }, { "type": "abs", "data" : { "axis": "x", "value" : 20000 } },
{ "type": "abs", "data" : { "axis": "Y", "value" : 400 } } ] } } { "type": "abs", "data" : { "axis": "y", "value" : 400 } } ] } }
<- { "return": {} } <- { "return": {} }
EQMP EQMP
......
...@@ -66,7 +66,6 @@ case_whitelist = [ ...@@ -66,7 +66,6 @@ case_whitelist = [
'CpuInfoBase', # CPU, visible through query-cpu 'CpuInfoBase', # CPU, visible through query-cpu
'CpuInfoMIPS', # PC, visible through query-cpu 'CpuInfoMIPS', # PC, visible through query-cpu
'CpuInfoTricore', # PC, visible through query-cpu 'CpuInfoTricore', # PC, visible through query-cpu
'InputAxis', # TODO: drop when x-input-send-event is fixed
'QapiErrorClass', # all members, visible through errors 'QapiErrorClass', # all members, visible through errors
'UuidInfo', # UUID, visible through query-uuid 'UuidInfo', # UUID, visible through query-uuid
'X86CPURegister32', # all members, visible indirectly through qom-get 'X86CPURegister32', # all members, visible indirectly through qom-get
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册