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:
2
sdl.c
2
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
|
||||
|
Reference in New Issue
Block a user