(svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X.

pull/155/head
pasky 20 years ago
parent 0566d80b16
commit b2b0f8b3f6

@ -430,6 +430,7 @@ static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym)
if (sym->scancode == 60) key |= WKC_BACKQUOTE;
if (sym->scancode == 49) key |= WKC_BACKSPACE;
#else
if (sym->scancode == 41) key |= WKC_BACKQUOTE; // Linux console
if (sym->scancode == 49) key |= WKC_BACKQUOTE;
#endif

Loading…
Cancel
Save