diff options
author | aap <aap@papnet.eu> | 2020-06-08 13:00:45 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-08 13:01:23 +0200 |
commit | d5515c9d0efd57348d50e450f5632cdf0ffeca73 (patch) | |
tree | ce4ee23891a5167e5de15bb5d8fda1d1d5eab480 /src/core/Pad.cpp | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-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.cpp | 4 |
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 |