summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-09-13 10:46:10 -0700
committerJason Gerecke <killertofu@gmail.com>2017-09-15 07:16:25 -0700
commit2456f821ba368fae5c084b44e86b8754187670c0 (patch)
treeff75f4434ce75fec7ebb51a629302ebca521eb3b
parentb30e2d27fdb30ff4b425fc62432cab636fe163b9 (diff)
downloadxf86-input-wacom-2456f821ba368fae5c084b44e86b8754187670c0.tar.gz
xsetwacom: Recognize 'AltGr' key as synonym for 'ISO_Level3_Shift'
The table of keysyms does not include an obvious synonym for the "AltGr" key that is found on some international keyboard layouts. It seems that "ISO_Level3_Shift" is the magic name that should typically be used. https://sourceforge.net/p/linuxwacom/bugs/344/ Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tools/xsetwacom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 834ebde..1051868 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -581,6 +581,8 @@ static struct modifier modifiers[] = {
{"lhyper", "Hyper_L"},
{"rhyper", "Hyper_R"},
+ {"altgr", "ISO_Level3_Shift"},
+
{ NULL, NULL }
};