From 325921789a6f728ecdc2a11ddc8525b538ca672b Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 31 Jan 2016 09:39:42 -0400 Subject: [PATCH] x11: Fix AltGr generating an invalid keycode (bug #3244). Thanks Thomas! --- src/video/x11/SDL_x11keyboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/x11/SDL_x11keyboard.c b/src/video/x11/SDL_x11keyboard.c index 2c3acdadd..e16d9f178 100644 --- a/src/video/x11/SDL_x11keyboard.c +++ b/src/video/x11/SDL_x11keyboard.c @@ -129,6 +129,7 @@ static const struct { { XK_Control_R, SDL_SCANCODE_RCTRL }, { XK_Shift_R, SDL_SCANCODE_RSHIFT }, { XK_Alt_R, SDL_SCANCODE_RALT }, + { XK_ISO_Level3_Shift, SDL_SCANCODE_RALT }, { XK_Meta_R, SDL_SCANCODE_RGUI }, { XK_Super_R, SDL_SCANCODE_RGUI }, { XK_Mode_switch, SDL_SCANCODE_MODE },