CrowdControl V2: Effect Overhaul (#2433)

This commit is contained in:
aMannus
2023-03-13 11:37:50 +01:00
committed by GitHub
parent 76e99ffe19
commit 866882e4c6
20 changed files with 2183 additions and 525 deletions

View File

@@ -233,6 +233,12 @@ void PadMgr_ProcessInputs(PadMgr* padMgr) {
input->cur.button &= ~(BTN_Z);
}
uint32_t emulatedButtons = GameInteractor_GetEmulatedButtons();
if (emulatedButtons) {
input->cur.button |= emulatedButtons;
GameInteractor_SetEmulatedButtons(0);
}
if (GameInteractor_ReverseControlsActive()) {
if (input->cur.stick_x == -128) {
input->cur.stick_x = 127;