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_PERIOD,
VK_OEM_2, // / VK_OEM_2, // /
#elif defined(HAVE_X11) && HAVE_X11 #elif defined(HAVE_X11) && HAVE_X11
'Z', XK_z,
'X', XK_x,
'C', XK_c,
'V', XK_v,
XK_equal, XK_equal,
XK_minus, XK_minus,
XK_BackSpace, XK_BackSpace,
@ -133,8 +133,8 @@ static int wmDefaultControls[] =
XK_Right, XK_Right,
XK_Up, XK_Up,
XK_Down, XK_Down,
'N', XK_n,
'M', XK_m,
XK_comma, XK_comma,
XK_period, XK_period,
XK_slash, XK_slash,

View File

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