summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-08-13 00:29:34 +0200
committereray orçunus <erayorcunus@gmail.com>2020-08-13 00:29:34 +0200
commit2034d7b2aebdeb3759efb150a1d09c586f5d2ce3 (patch)
tree28575eacb67fb63a78012d829d39a217cd45ea3e /src/core
parentupdate librw (diff)
downloadre3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar.gz
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar.bz2
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar.lz
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar.xz
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.tar.zst
re3-2034d7b2aebdeb3759efb150a1d09c586f5d2ce3.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ControllerConfig.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp
index 6a5080e5..fe1821c2 100644
--- a/src/core/ControllerConfig.cpp
+++ b/src/core/ControllerConfig.cpp
@@ -633,6 +633,11 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown(int32 button,
}
AffectControllerStateOn_ButtonDown_AllStates(button, type, *state);
+
+#ifdef REGISTER_START_BUTTON
+ if (button == 12)
+ state->Start = 255;
+#endif
}
}
}
@@ -1036,6 +1041,11 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonUp(int32 button, eC
{
if (FrontEndMenuManager.GetIsMenuActive())
AffectControllerStateOn_ButtonUp_All_Player_States(button, type, *state);
+
+#ifdef REGISTER_START_BUTTON
+ if (button == 12)
+ state->Start = 0;
+#endif
}
}
}