From 2456f821ba368fae5c084b44e86b8754187670c0 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Wed, 13 Sep 2017 10:46:10 -0700 Subject: 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 Reviewed-by: Ping Cheng Reviewed-by: Peter Hutterer --- tools/xsetwacom.c | 2 ++ 1 file changed, 2 insertions(+) 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 } }; -- cgit v1.2.1