aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-07-28 08:34:32 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-07-28 12:35:40 +0200
commitef58430d5daeac4c18e4072f5860e25700aa8af6 (patch)
tree89209b3b3b6764d7e7718e5f10e22135c9d8d48c
parent103dce8f750f4b990dbd24ac231392062c153ec0 (diff)
downloadqemu-ef58430d5daeac4c18e4072f5860e25700aa8af6.zip
qemu-ef58430d5daeac4c18e4072f5860e25700aa8af6.tar.gz
qemu-ef58430d5daeac4c18e4072f5860e25700aa8af6.tar.bz2
ui: add pause key to linux_to_qcode
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170728063432.27578-1-kraxel@redhat.com
-rw-r--r--ui/input-keymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/input-keymap.c b/ui/input-keymap.c
index cdad565..cf979c2 100644
--- a/ui/input-keymap.c
+++ b/ui/input-keymap.c
@@ -116,6 +116,7 @@ static int linux_to_qcode[KEY_CNT] = {
[KEY_LEFTMETA] = Q_KEY_CODE_META_L,
[KEY_RIGHTMETA] = Q_KEY_CODE_META_R,
[KEY_MENU] = Q_KEY_CODE_MENU,
+ [KEY_PAUSE] = Q_KEY_CODE_PAUSE,
[KEY_SLEEP] = Q_KEY_CODE_SLEEP,
[KEY_WAKEUP] = Q_KEY_CODE_WAKE,