Change default wiimote emulation key settings to lowercase in linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4969 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-01-27 13:46:30 +00:00
parent feea557019
commit 10192a9a4b
2 changed files with 7 additions and 7 deletions

View File

@ -122,10 +122,10 @@ static int wmDefaultControls[] =
VK_OEM_PERIOD,
VK_OEM_2, // /
#elif defined(HAVE_X11) && HAVE_X11
'Z',
'X',
'C',
'V',
XK_z,
XK_x,
XK_c,
XK_v,
XK_equal,
XK_minus,
XK_BackSpace,
@ -133,8 +133,8 @@ static int wmDefaultControls[] =
XK_Right,
XK_Up,
XK_Down,
'N',
'M',
XK_n,
XK_m,
XK_comma,
XK_period,
XK_slash,

View File

@ -308,7 +308,7 @@ bool IsKey(int Key)
{
Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows)
#else
if (MapKey < 256 || (MapKey >= 0xff50 && MapKey <= 0xff54))
if (MapKey < 256 || MapKey >= 0xf000)
{
Ret = KeyStatus[Key]; // Keyboard (Linux)
#endif