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

@ -295,7 +295,7 @@ 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.
@ -303,7 +303,7 @@ volatile bool wxkeystate[256];
void Wiimote_Input(u16 _Key, u8 _UpDown)
{
#if defined(__APPLE__) && defined(USE_WX) && USE_WX
if (_Key < 256)
if (_Key < 400)
{
wxkeystate[_Key] = _UpDown;
}