Invert jump and crouch controller mappings

This commit is contained in:
PeytonPlayz595 2024-07-06 10:01:17 -07:00
parent 2ebe7f3019
commit 60be872ee2
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ desktopRuntime/options.txt
desktopRuntime/_eagstorage* desktopRuntime/_eagstorage*
desktopRuntime/filesystem/* desktopRuntime/filesystem/*
desktopRuntime/downloads/* desktopRuntime/downloads/*
javascript/Shadow_Client_en_US.zip

View File

@ -71,11 +71,11 @@ public class Controller {
} }
public static boolean jump() { public static boolean jump() {
return isButtonPressed(1) || isButtonDown(1); return isButtonPressed(0) || isButtonDown(0);
} }
public static boolean crouch() { public static boolean crouch() {
return isButtonPressed(0) || isButtonDown(0) || isButtonPressed(11) || isButtonDown(11); return isButtonPressed(1) || isButtonDown(1) || isButtonPressed(11) || isButtonDown(11);
} }
public static boolean sprint() { public static boolean sprint() {