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:
parent
feea557019
commit
10192a9a4b
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue