🚧 Rewrite how button bindings work.

This commit is contained in:
LambdAurora
2019-12-04 12:26:00 +01:00
parent 597f581f0a
commit 70184f462c
9 changed files with 380 additions and 361 deletions

View File

@@ -44,6 +44,7 @@ public class LambdaControls implements ClientModInitializer
public void on_mc_init(@NotNull MinecraftClient client)
{
Controller.update_mappings();
ButtonBinding.init(client.options);
this.config.init_keybindings(client.options);
GLFW.glfwSetJoystickCallback((jid, event) -> {
if (event == GLFW.GLFW_CONNECTED) {