diff options
author | pasky <pasky@openttd.org> | 2005-03-06 00:39:38 +0000 |
---|---|---|
committer | pasky <pasky@openttd.org> | 2005-03-06 00:39:38 +0000 |
commit | 71906d09b7ac6619a74c0a18efacb68bd05101d0 (patch) | |
tree | 4f27996ff58a29d3bbf57d5d6db3d63df06e3698 | |
parent | fb98c932b24edefcd565a09ed9c217bf827cc5da (diff) | |
download | openttd-71906d09b7ac6619a74c0a18efacb68bd05101d0.tar.xz |
(svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X.
-rw-r--r-- | sdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |