forked from mirror/OpenTTD
(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;
|
if (sym->scancode == 10) key |= WKC_BACKQUOTE;
|
||||||
#elif defined(__MORPHOS__)
|
#elif defined(__MORPHOS__)
|
||||||
if (sym->scancode == 0) key |= WKC_BACKQUOTE; // yes, that key is code '0' under 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
|
#else
|
||||||
if (sym->scancode == 49) key |= WKC_BACKQUOTE;
|
if (sym->scancode == 49) key |= WKC_BACKQUOTE;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user