1
0
forked from Clones/Controlify

🐛 Make the reset button act as an unbind button. (close #120)

This commit is contained in:
isXander
2023-07-27 20:22:58 +01:00
parent 1df7925109
commit 276cdff132
3 changed files with 3 additions and 15 deletions

View File

@ -95,11 +95,6 @@ public abstract class AbstractBindController<T extends ControllerState> implemen
if (controller != control.controller) return true;
if (!justTookInput && !awaitingControllerInput) {
if (controller.bindings().CLEAR_BINDING.justPressed()) {
control.option().requestSet(new EmptyBind<>());
return true;
}
if (controller.bindings().GUI_PRESS.justPressed()) {
ControllerBindHandler.setBindListener(this);
return awaitingControllerInput = true;