mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
5c335a8c85
commit
c130aa7a36
3 changed files with 7 additions and 7 deletions
|
@ -35,7 +35,7 @@
|
|||
extern SWiimoteInitialize g_WiimoteInitialize;
|
||||
|
||||
// Hack to use wx key events
|
||||
extern volatile bool wxkeystate[256];
|
||||
extern volatile bool wxkeystate[400];
|
||||
|
||||
namespace WiiMoteEmu
|
||||
{
|
||||
|
@ -323,7 +323,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue