From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W85Qe-0000xF-OQ for qemu-devel@nongnu.org; Tue, 28 Jan 2014 04:58:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W85QS-0006fi-LC for qemu-devel@nongnu.org; Tue, 28 Jan 2014 04:58:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W85QS-0006fV-Cs for qemu-devel@nongnu.org; Tue, 28 Jan 2014 04:57:48 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0S9vkpB009338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Jan 2014 04:57:46 -0500 From: Gerd Hoffmann Date: Tue, 28 Jan 2014 10:57:00 +0100 Message-Id: <1390903055-479-8-git-send-email-kraxel@redhat.com> In-Reply-To: <1390903055-479-1-git-send-email-kraxel@redhat.com> References: <1390903055-479-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 07/42] input: qapi: add unmapped key List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster , Gerd Hoffmann , Luiz Capitulino Simplifies building something -> QkeyCode mapping tables. Uninitialized entries can easily identified then. Signed-off-by: Gerd Hoffmann --- qapi-schema.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qapi-schema.json b/qapi-schema.json index 646d64f..6af22f6 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3429,9 +3429,12 @@ # This is used by the send-key command. # # Since: 1.3.0 +# +# 'unmapped' since 2.0 ## { 'enum': 'QKeyCode', - 'data': [ 'shift', 'shift_r', 'alt', 'alt_r', 'altgr', 'altgr_r', 'ctrl', + 'data': [ 'unmapped', + 'shift', 'shift_r', 'alt', 'alt_r', 'altgr', 'altgr_r', 'ctrl', 'ctrl_r', 'menu', 'esc', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'minus', 'equal', 'backspace', 'tab', 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', 'bracket_left', 'bracket_right', -- 1.8.3.1