From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYYhB-00039M-Aw for qemu-devel@nongnu.org; Tue, 31 Jan 2017 08:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYYh6-0005ym-FF for qemu-devel@nongnu.org; Tue, 31 Jan 2017 08:42:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40656) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYYh6-0005yR-9I for qemu-devel@nongnu.org; Tue, 31 Jan 2017 08:42:00 -0500 From: Gerd Hoffmann Date: Tue, 31 Jan 2017 14:41:37 +0100 Message-Id: <1485870106-25016-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1485870106-25016-1-git-send-email-kraxel@redhat.com> References: <1485870106-25016-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 01/10] qapi: add support for mice with extra/side buttons List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Fabian Lesniak , Gerd Hoffmann , Eric Blake , Markus Armbruster From: Fabian Lesniak Adds "side" and "extra" values to enum InputButton. The naming was borrowed from evdev since it is more descriptive than "button4" and "button5". Signed-off-by: Fabian Lesniak Message-id: 20161206190007.7539-2-fabian@lesniak-it.de Signed-off-by: Gerd Hoffmann --- qapi-schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qapi-schema.json b/qapi-schema.json index 82fabc6..cbdffdd 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -5390,10 +5390,15 @@ # # Button of a pointer input device (mouse, tablet). # +# @side: front side button of a 5-button mouse (since 2.9) +# +# @extra: rear side button of a 5-button mouse (since 2.9) +# # Since: 2.0 ## { 'enum' : 'InputButton', - 'data' : [ 'left', 'middle', 'right', 'wheel-up', 'wheel-down' ] } + 'data' : [ 'left', 'middle', 'right', 'wheel-up', 'wheel-down', 'side', + 'extra' ] } ## # @InputAxis: -- 1.8.3.1