Invert jump and crouch controller mappings
This commit is contained in:
parent
2ebe7f3019
commit
60be872ee2
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -13,4 +13,5 @@ desktopRuntime/crash-reports/*
|
||||||
desktopRuntime/options.txt
|
desktopRuntime/options.txt
|
||||||
desktopRuntime/_eagstorage*
|
desktopRuntime/_eagstorage*
|
||||||
desktopRuntime/filesystem/*
|
desktopRuntime/filesystem/*
|
||||||
desktopRuntime/downloads/*
|
desktopRuntime/downloads/*
|
||||||
|
javascript/Shadow_Client_en_US.zip
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user