mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
D-Pad control for path change in Map
Some checks failed
GenerateBuilds / generate-port-o2r (push) Has been cancelled
GenerateBuilds / build-windows (push) Has been cancelled
GenerateBuilds / build-macos (push) Has been cancelled
GenerateBuilds / build-linux (push) Has been cancelled
GenerateBuilds / build-switch (push) Has been cancelled
Some checks failed
GenerateBuilds / generate-port-o2r (push) Has been cancelled
GenerateBuilds / build-windows (push) Has been cancelled
GenerateBuilds / build-macos (push) Has been cancelled
GenerateBuilds / build-linux (push) Has been cancelled
GenerateBuilds / build-switch (push) Has been cancelled
This commit is contained in:
parent
5894a267e7
commit
9106bb7ba3
1 changed files with 6 additions and 0 deletions
|
@ -3772,6 +3772,12 @@ bool Map_Input_CursorY(void) {
|
|||
|
||||
if ((stickY > -40) && (stickY < 40)) {
|
||||
stickY = 0;
|
||||
}
|
||||
|
||||
if (gControllerPress[gMainController].button & D_JPAD) {
|
||||
stickY = -30;
|
||||
} else if (gControllerPress[gMainController].button & U_JPAD) {
|
||||
stickY = +30;
|
||||
}
|
||||
|
||||
if (stickY != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue