From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIy56-0006jp-IT for qemu-devel@nongnu.org; Tue, 12 Jan 2016 07:29:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIy54-0007mr-Ep for qemu-devel@nongnu.org; Tue, 12 Jan 2016 07:29:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIy54-0007me-9v for qemu-devel@nongnu.org; Tue, 12 Jan 2016 07:29:46 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id F319F8DFEA for ; Tue, 12 Jan 2016 12:29:45 +0000 (UTC) From: Gerd Hoffmann Date: Tue, 12 Jan 2016 13:29:38 +0100 Message-Id: <1452601779-5790-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1452601779-5790-1-git-send-email-kraxel@redhat.com> References: <1452601779-5790-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 6/7] qapi: rename input axises List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcelo Tosatti , Markus Armbruster , Gerd Hoffmann Lowercase them. Signed-off-by: Gerd Hoffmann --- 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