input: qapi: add unmapped key

Simplifies building something -> QkeyCode mapping tables.
Uninitialized entries can easily identified then.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Gerd Hoffmann 2013-12-13 12:10:14 +01:00
parent 031fa96439
commit bbd1b1cc25
1 changed files with 4 additions and 1 deletions

View File

@ -3555,9 +3555,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',