Add better button management, the controls screen and more.

This commit is contained in:
LambdAurora
2019-12-08 23:40:16 +01:00
parent 82f67e7af9
commit 6b78d32e6f
20 changed files with 1061 additions and 128 deletions

View File

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