mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r637) Add keycode for the key to open the console on BeOS
This commit is contained in:
parent
69159b6e52
commit
cc428ef6cf
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
|
||||
|
Loading…
Reference in New Issue
Block a user