diff options
author | tron <tron@openttd.org> | 2004-11-16 16:13:54 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-16 16:13:54 +0000 |
commit | cc428ef6cfd4316d28b1e06952c0d9a6128d3a28 (patch) | |
tree | 5661856a2a0b6f72aeeae3dacb09589a6014cf79 /sdl.c | |
parent | 69159b6e522b8d311f7f4462c34ebd985dfce09e (diff) | |
download | openttd-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |