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:
ayuanx 2010-01-27 03:29:35 +00:00
parent 36a5015bc0
commit feea557019
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{