mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
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:
parent
cb47eb27cc
commit
b17c5f3cf3
4 changed files with 14 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue