summaryrefslogtreecommitdiff
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
parentbe9954ecc6496fec4913c129310c89d83636346a (diff)
cleaned up and fixed animviewer
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 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