From b2b0f8b3f64efc44667f9c937dfc4b7daa7b06e9 Mon Sep 17 00:00:00 2001 From: pasky Date: Sun, 6 Mar 2005 00:39:38 +0000 Subject: [PATCH] (svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. --- sdl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sdl.c b/sdl.c index 515a97e594..73a849f7bb 100644 --- a/sdl.c +++ b/sdl.c @@ -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