summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-08 13:01:07 +0200
committeraap <aap@papnet.eu>2020-06-08 13:01:20 +0200
commit94e5b24fc80403750af517c76f0caa023f87618b (patch)
tree984b9ee4e7eaacb6b8f257261fe883030211c838 /src/core/Pad.cpp
parentIsMissionAudioSamplePlaying (from VC) (diff)
downloadre3-94e5b24fc80403750af517c76f0caa023f87618b.tar
re3-94e5b24fc80403750af517c76f0caa023f87618b.tar.gz
re3-94e5b24fc80403750af517c76f0caa023f87618b.tar.bz2
re3-94e5b24fc80403750af517c76f0caa023f87618b.tar.lz
re3-94e5b24fc80403750af517c76f0caa023f87618b.tar.xz
re3-94e5b24fc80403750af517c76f0caa023f87618b.tar.zst
re3-94e5b24fc80403750af517c76f0caa023f87618b.zip
Diffstat (limited to '')
-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 924d4724..a071ff19 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1046,8 +1046,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