x11: Fix AltGr generating an invalid keycode (bug #3244). Thanks Thomas!
authorAlex Szpakowski <slime73@gmail.com>
Sun, 31 Jan 2016 09:39:42 -0400
changeset 1005925f67a2e77a0
parent 10058 d141e7945ddf
child 10060 739bc5c7d339
x11: Fix AltGr generating an invalid keycode (bug #3244). Thanks Thomas!
src/video/x11/SDL_x11keyboard.c
     1.1 --- a/src/video/x11/SDL_x11keyboard.c	Wed Jan 27 23:20:23 2016 +0100
     1.2 +++ b/src/video/x11/SDL_x11keyboard.c	Sun Jan 31 09:39:42 2016 -0400
     1.3 @@ -129,6 +129,7 @@
     1.4      { XK_Control_R, SDL_SCANCODE_RCTRL },
     1.5      { XK_Shift_R, SDL_SCANCODE_RSHIFT },
     1.6      { XK_Alt_R, SDL_SCANCODE_RALT },
     1.7 +    { XK_ISO_Level3_Shift, SDL_SCANCODE_RALT },
     1.8      { XK_Meta_R, SDL_SCANCODE_RGUI },
     1.9      { XK_Super_R, SDL_SCANCODE_RGUI },
    1.10      { XK_Mode_switch, SDL_SCANCODE_MODE },