summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-16 16:13:54 +0000
committertron <tron@openttd.org>2004-11-16 16:13:54 +0000
commitcc428ef6cfd4316d28b1e06952c0d9a6128d3a28 (patch)
tree5661856a2a0b6f72aeeae3dacb09589a6014cf79 /sdl.c
parent69159b6e522b8d311f7f4462c34ebd985dfce09e (diff)
downloadopenttd-cc428ef6cfd4316d28b1e06952c0d9a6128d3a28.tar.xz
(svn r637) Add keycode for the key to open the console on BeOS
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index a78d436d1..4a719d1aa 100644
--- a/sdl.c
+++ b/sdl.c
@@ -396,6 +396,8 @@ static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym)
if (sym->scancode == 10) key |= WKC_BACKQUOTE;
#elif defined(__MORPHOS__)
if (sym->scancode == 0) key |= WKC_BACKQUOTE; // yes, that key is code '0' under MorphOS :)
+#elif defined(__BEOS__)
+ if (sym->scancode == 17) key |= WKC_BACKQUOTE;
#else
if (sym->scancode == 49) key |= WKC_BACKQUOTE;
#endif