Invert jump and crouch controller mappings
This commit is contained in:
parent
2ebe7f3019
commit
60be872ee2
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,3 +14,4 @@ desktopRuntime/options.txt
|
|||
desktopRuntime/_eagstorage*
|
||||
desktopRuntime/filesystem/*
|
||||
desktopRuntime/downloads/*
|
||||
javascript/Shadow_Client_en_US.zip
|
||||
|
|
|
@ -71,11 +71,11 @@ public class Controller {
|
|||
}
|
||||
|
||||
public static boolean jump() {
|
||||
return isButtonPressed(1) || isButtonDown(1);
|
||||
return isButtonPressed(0) || isButtonDown(0);
|
||||
}
|
||||
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user