mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user