mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Ok, now the mac build should be fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5051 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -606,6 +606,7 @@ bool IsKey(int Key)
|
||||
if (MapKey < 256)
|
||||
{
|
||||
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
|
||||
}
|
||||
#elif defined HAVE_X11 && HAVE_X11
|
||||
if (MapKey < 256 || MapKey > 0xf000)
|
||||
{
|
||||
@ -614,8 +615,8 @@ bool IsKey(int Key)
|
||||
XQueryKeymap(GCdisplay, keys);
|
||||
keyCode = XKeysymToKeycode(GCdisplay, MapKey);
|
||||
Ret = (keys[keyCode/8] & (1 << (keyCode%8))); // Keyboard (Linux)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (MapKey < 0x1100)
|
||||
{
|
||||
Ret = SDL_JoystickGetButton(GCMapping[g_ID].joy, MapKey - 0x1000); // Pad button
|
||||
|
Reference in New Issue
Block a user