From 568efb62872fed7174a614c8b0ac8abd7a93bbde Mon Sep 17 00:00:00 2001 From: Cart <81428538+Cartrigger@users.noreply.github.com> Date: Mon, 8 Aug 2022 01:47:29 -0400 Subject: [PATCH 1/2] Update controls (yipee) rebinds sneak from right thumbstick down to right thumbstick click, rebinds sprint from right thumbstick up to left thumbstick click. Unbinds switch hands from left thumbstick click. (i would rebind this but there are not buttons left :sadge:) --- .../play/input/actionsets/VanillaGameplayActionSet.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java b/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java index dd17feb1..b35dd800 100644 --- a/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java +++ b/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java @@ -45,7 +45,6 @@ public class VanillaGameplayActionSet extends ActionSet { public final HapticAction leftHaptic = new HapticAction("left_haptic"); public final HapticAction rightHaptic = new HapticAction("right_haptic"); - // public final MultiHapticAction haptics = new MultiHapticAction("haptics", new String[]{"/user/hand/left", "/user/hand/right"}); public boolean turnActivated = false; @@ -116,11 +115,9 @@ public void getDefaultBindings(HashMap>> map) new Pair<>(inventory, "/user/hand/left/input/y/click"), new Pair<>(jump, "/user/hand/right/input/a/click"), - // new Pair<>(sprint, "/user/hand/left/input/thumbstick/click"), - new Pair<>(sneakAnalog, "/user/hand/right/input/thumbstick/y"), - new Pair<>(sprintAnalog, "/user/hand/right/input/thumbstick/y"), - new Pair<>(swapHands, "/user/hand/left/input/thumbstick/click"), - // new Pair<>(sneak, "/user/hand/right/input/thumbstick/click"), + new Pair<>(sprint, "/user/hand/left/input/thumbstick/click"), + new Pair<>(sneak, "/user/hand/right/input/thumbstick/click"), + // new Pair<>(swapHands, "/user/hand/left/input/thumbstick/click"), new Pair<>(quickmenu, "/user/hand/right/input/b/click"), new Pair<>(menu, "/user/hand/left/input/menu/click"), new Pair<>(teleport, "/user/hand/left/input/x/click"), From 68b01cbf1f6b84a7969fa65c1d138cb556c7eb97 Mon Sep 17 00:00:00 2001 From: Cart <81428538+Cartrigger@users.noreply.github.com> Date: Mon, 8 Aug 2022 16:13:32 -0400 Subject: [PATCH 2/2] Getting back the old controls commented Brings back the old controls, just commented --- .../mcxr/play/input/actionsets/VanillaGameplayActionSet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java b/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java index b35dd800..3278c92e 100644 --- a/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java +++ b/mcxr-play/src/main/java/net/sorenon/mcxr/play/input/actionsets/VanillaGameplayActionSet.java @@ -110,7 +110,8 @@ public void getDefaultBindings(HashMap>> map) new Pair<>(hotbarRight, "/user/hand/right/input/squeeze/value"), new Pair<>(hotbarLeft, "/user/hand/left/input/squeeze/value"), // new Pair<>(hotbar, "/user/hand/right/input/thumbstick/y"), - + // new Pair<>(sneakAnalog, "/user/hand/right/input/thumbstick/y"), + // new Pair<>(sprintAnalog, "/user/hand/right/input/thumbstick/y"), new Pair<>(turn, "/user/hand/right/input/thumbstick/x"), new Pair<>(inventory, "/user/hand/left/input/y/click"), new Pair<>(jump, "/user/hand/right/input/a/click"),