From feea5570191c471d223b791b3fb0b54a1228e7e4 Mon Sep 17 00:00:00 2001 From: ayuanx Date: Wed, 27 Jan 2010 03:29:35 +0000 Subject: [PATCH] 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 --- Source/Core/InputCommon/Src/SDL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/Src/SDL.cpp b/Source/Core/InputCommon/Src/SDL.cpp index 94c230bf03..572d68d407 100644 --- a/Source/Core/InputCommon/Src/SDL.cpp +++ b/Source/Core/InputCommon/Src/SDL.cpp @@ -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++) {