1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r637) Add keycode for the key to open the console on BeOS

This commit is contained in:
tron
2004-11-16 16:13:54 +00:00
parent 69159b6e52
commit cc428ef6cf

2
sdl.c
View File

@@ -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