Accept more special keys in previous.

Still doesn't make arrow keys work, though.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5623 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-06-05 19:17:17 +00:00
parent 5c335a8c85
commit c130aa7a36
3 changed files with 7 additions and 7 deletions

View File

@ -244,14 +244,14 @@ void EmuStateChange(PLUGIN_EMUSTATE newState)
}
// Hack to use wx key events
volatile bool wxkeystate[256];
volatile bool wxkeystate[400];
// Set buttons status from keyboard input. Currently this is done from wxWidgets in the main application.
// --------------
void PAD_Input(u16 _Key, u8 _UpDown)
{
#if defined(__APPLE__) && defined(USE_WX) && USE_WX
if (_Key < 256)
if (_Key < 400)
{
wxkeystate[_Key] = _UpDown;
}
@ -634,7 +634,7 @@ bool IsKey(int Key)
}
else if (MapKey < 0x1100)
#elif defined (USE_WX) && USE_WX
if (MapKey < 256) {
if (MapKey < 400) {
Ret = wxkeystate[MapKey];
}
else if (MapKey < 0x1100)