summary refs log tree commit diff stats
path: root/hw/input/ps2.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/input/ps2.c
parent0500cb1d25e69108ae1a2474412bbd255bbc34b2 (diff)
downloadfocaccia-qemu-912092b8e47f31c3db25e088af8460d9e752da29.tar.gz
focaccia-qemu-912092b8e47f31c3db25e088af8460d9e752da29.zip
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/input/ps2.c')
-rw-r--r--hw/input/ps2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/input/ps2.c b/hw/input/ps2.c
index 25ae7fc852..9f057e46ea 100644
--- a/hw/input/ps2.c
+++ b/hw/input/ps2.c
@@ -387,8 +387,6 @@ static const uint16_t qcode_to_keycode_set2[Q_KEY_CODE__MAX] = {
     [Q_KEY_CODE_AC_REFRESH] = 0xe020,
     [Q_KEY_CODE_AC_BOOKMARKS] = 0xe018,
 
-    [Q_KEY_CODE_ALTGR] = 0x08,
-    [Q_KEY_CODE_ALTGR_R] = 0xe008,
     [Q_KEY_CODE_ASTERISK] = 0x7c,
     [Q_KEY_CODE_LESS] = 0x61,
     [Q_KEY_CODE_SYSRQ] = 0x7f,