(svn r171) MorphOS: added hotkey for console (tokai)
This commit is contained in:
4
sdl.c
4
sdl.c
@@ -390,10 +390,14 @@ static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym)
|
||||
#else
|
||||
#if defined(__APPLE__)
|
||||
if (sym->scancode == 10) key |= WKC_BACKQUOTE;
|
||||
#else
|
||||
#if defined(__MORPHOS__)
|
||||
if (sym->scancode == 0) key |= WKC_BACKQUOTE; // yes, that key is code '0' under MorphOS :)
|
||||
#else
|
||||
if (sym->scancode == 49) key |= WKC_BACKQUOTE;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
// META are the command keys on mac
|
||||
if (sym->mod & KMOD_META) key |= WKC_META;
|
||||
if (sym->mod & KMOD_SHIFT) key |= WKC_SHIFT;
|
||||
|
Reference in New Issue
Block a user