aboutsummaryrefslogtreecommitdiff
path: root/hw/char/escc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-07-27 12:47:20 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-07-27 14:23:33 +0200
commit912092b8e47f31c3db25e088af8460d9e752da29 (patch)
treefbd06b5426d543cdd8f94013b1c5537e611c1b8e /hw/char/escc.c
parent0500cb1d25e69108ae1a2474412bbd255bbc34b2 (diff)
downloadqemu-912092b8e47f31c3db25e088af8460d9e752da29.zip
qemu-912092b8e47f31c3db25e088af8460d9e752da29.tar.gz
qemu-912092b8e47f31c3db25e088af8460d9e752da29.tar.bz2
ui: drop altgr and altgr_r QKeyCodes
The right alt key (alt_r aka KEY_RIGHTALT) is used for AltGr. The altgr and altgr_r keys simply don't exist. Drop them. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170727104720.30061-1-kraxel@redhat.com
Diffstat (limited to 'hw/char/escc.c')
-rw-r--r--hw/char/escc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/char/escc.c b/hw/char/escc.c
index 89ae9eb..1aca564 100644
--- a/hw/char/escc.c
+++ b/hw/char/escc.c
@@ -722,7 +722,6 @@ static const uint8_t qcode_to_keycode[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_SHIFT_R] = 110,
[Q_KEY_CODE_ALT] = 19,
[Q_KEY_CODE_ALT_R] = 13,
- [Q_KEY_CODE_ALTGR] = 13,
[Q_KEY_CODE_CTRL] = 76,
[Q_KEY_CODE_CTRL_R] = 76,
[Q_KEY_CODE_ESC] = 29,