> For the complete documentation index, see [llms.txt](https://tanishisherewith.gitbook.io/dynamic-hud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tanishisherewith.gitbook.io/dynamic-hud/integrating-dynamichud/changing-default-key-bind.md).

# Changing default key bind

The `getKeyBind()` method within DynamicHudIntegration retrieves a Key Bind that is utilized to open the previously specified AbstractMoveableScreen during gameplay.&#x20;

{% hint style="info" %}
The default keybind passed is:

```java
KeyBinding EDITOR_SCREEN_KEY_BINDING = KeyBindingHelper.registerKeyBinding(new KeyBinding(
        "DynamicHud Editor Screen",
        InputUtil.Type.KEYSYM,
        GLFW.GLFW_KEY_RIGHT_SHIFT,
        "DynamicHud"
));
```

{% endhint %}

In order to change the default keybind, you need to override the `getKeyBind()` method.

{% code lineNumbers="true" %}

```java
public class MyIntegration implements DynamicHudIntegration{

  @Override
  public KeyBinding getKeyBind() {
     return KeyBindingHelper.registerKeyBinding(new KeyBinding(
           "My Translation",
           INPUT_TYPE,
           KEY,
           "My Category"
     ));
  }
}
```

{% endcode %}
