From d5515c9d0efd57348d50e450f5632cdf0ffeca73 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 8 Jun 2020 13:00:45 +0200 Subject: cleaned up and updated animviewer; fixed animation bug --- src/core/Pad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/Pad.cpp') diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index 204d9a18..f38e48f0 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -1274,8 +1274,8 @@ void CPad::UpdatePads(void) GetPad(0)->UpdateMouse(); #ifdef XINPUT - GetPad(0)->AffectFromXinput(0); - GetPad(1)->AffectFromXinput(1); + GetPad(0)->AffectFromXinput(m_bMapPadOneToPadTwo ? 1 : 0); + GetPad(1)->AffectFromXinput(m_bMapPadOneToPadTwo ? 0 : 1); #else CapturePad(0); #endif -- cgit v1.2.3