diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-14 12:52:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-14 12:52:10 +0200 |
commit | 28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54 (patch) | |
tree | 5979c42ba38ccc070ad3e6e3d308d86e7b7cdef6 | |
parent | fixed clouds render (diff) | |
parent | fixed clouds render (diff) | |
download | re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar.gz re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar.bz2 re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar.lz re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar.xz re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.tar.zst re3-28dc67dc86c9b7f1a6ff4f74c8c5b1f52a278a54.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/ControllerConfig.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp index d194cebb..38afdd0e 100644 --- a/src/core/ControllerConfig.cpp +++ b/src/core/ControllerConfig.cpp @@ -651,6 +651,11 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown(int32 button, } AffectControllerStateOn_ButtonDown_AllStates(button, type, *state); + +#ifdef REGISTER_START_BUTTON + if (button == 12) + state->Start = 255; +#endif } } } @@ -1060,6 +1065,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 } } } |