Fix the linux keyboard.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4951 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-01-24 18:23:47 +00:00
parent cb47eb27cc
commit b17c5f3cf3
4 changed files with 14 additions and 5 deletions

View File

@ -673,7 +673,7 @@ void ReadLinuxKeyboard()
for (int i = 0; i < LAST_CONSTANT; i++)
{
if (key == WiiMapping[g_ID].Button[i])
if (((int) key) == WiiMapping[g_ID].Button[i])
KeyStatus[i] = true;
}
break;
@ -691,7 +691,7 @@ void ReadLinuxKeyboard()
for (int i = 0; i < LAST_CONSTANT; i++)
{
if (key == WiiMapping[g_ID].Button[i])
if (((int) key) == WiiMapping[g_ID].Button[i])
KeyStatus[i] = false;
}
break;