D-Pad control for path change in Map
Some checks are pending
GenerateBuilds / generate-port-o2r (push) Waiting to run
GenerateBuilds / build-windows (push) Blocked by required conditions
GenerateBuilds / build-macos (push) Blocked by required conditions
GenerateBuilds / build-linux (push) Blocked by required conditions
GenerateBuilds / build-switch (push) Blocked by required conditions

This commit is contained in:
Sonic Dreamcaster 2025-03-12 15:18:02 -03:00
parent 5894a267e7
commit 9106bb7ba3

View File

@ -3772,6 +3772,12 @@ bool Map_Input_CursorY(void) {
if ((stickY > -40) && (stickY < 40)) { if ((stickY > -40) && (stickY < 40)) {
stickY = 0; stickY = 0;
}
if (gControllerPress[gMainController].button & D_JPAD) {
stickY = -30;
} else if (gControllerPress[gMainController].button & U_JPAD) {
stickY = +30;
} }
if (stickY != 0) { if (stickY != 0) {