qapi: rename InputAxis values.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 12 Jan 2016 11:34:20 +0000 (12:34 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 1 Mar 2016 07:19:45 +0000 (08:19 +0100)
Lowercase them.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qapi-schema.json
qmp-commands.hx
scripts/qapi.py

index 011fdb6bcde19a5b26de7922fd2441700f472df3..f3e080fc13024d47fdc01699a6820dc1b1bd520a 100644 (file)
 # 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
index cd4d14266f670267e85d1f23779871e12d4a29d2..edfe7721c1264f5dd6a1bb7cfe3481018c2c7ad3 100644 (file)
@@ -4717,8 +4717,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
index 941d7c9898a9a745d525ae03822953a3817df256..18adca753d6d7511fbcb929614159bfa86e98913 100644 (file)
@@ -66,7 +66,6 @@ case_whitelist = [
     'CpuInfoBase',          # CPU, visible through query-cpu
     'CpuInfoMIPS',          # 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
     'UuidInfo',             # UUID, visible through query-uuid
     'X86CPURegister32',     # all members, visible indirectly through qom-get