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)
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 cdad5652d3..cf979c2ce9 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,