Fixes Issue 2125
An XInput trigger should not be mapped to a button. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4968 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
36a5015bc0
commit
feea557019
|
@ -168,7 +168,7 @@ void GetButton(SDL_Joystick *joy, int ControllerID, int buttons, int axes, int h
|
|||
|
||||
// Check for a XInput trigger
|
||||
#ifdef _WIN32
|
||||
if(XInput)
|
||||
if(XInput && LeftRight)
|
||||
{
|
||||
for(int i = 0; i <= InputCommon::XI_TRIGGER_R; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue