aboutsummaryrefslogtreecommitdiff
path: root/ui/input-keymap.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 /ui/input-keymap.c
parent0500cb1d25e69108ae1a2474412bbd255bbc34b2 (diff)
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 'ui/input-keymap.c')
-rw-r--r--ui/input-keymap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/input-keymap.c b/ui/input-keymap.c
index ae781beae9..f96adf4165 100644
--- a/ui/input-keymap.c
+++ b/ui/input-keymap.c
@@ -146,8 +146,6 @@ static const int qcode_to_number[] = {
[Q_KEY_CODE_ALT] = 0x38,
[Q_KEY_CODE_ALT_R] = 0xb8,
- [Q_KEY_CODE_ALTGR] = 0x64,
- [Q_KEY_CODE_ALTGR_R] = 0xe4,
[Q_KEY_CODE_CTRL] = 0x1d,
[Q_KEY_CODE_CTRL_R] = 0x9d,