summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-08 13:00:45 +0200
committeraap <aap@papnet.eu>2020-06-08 13:01:23 +0200
commitd5515c9d0efd57348d50e450f5632cdf0ffeca73 (patch)
treece4ee23891a5167e5de15bb5d8fda1d1d5eab480 /src/core/Pad.cpp
parentMerge branch 'master' into miami (diff)
downloadre3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar.gz
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar.bz2
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar.lz
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar.xz
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.tar.zst
re3-d5515c9d0efd57348d50e450f5632cdf0ffeca73.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp4
1 files changed, 2 insertions, 2 deletions
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