This plugin works for Godot 4.0. For the 3.x version, see the 3.x branch.
Screenshot from Pixelorama.
If you wish to support the development of this plugin, consider supporting us on Patreon.
addons/keychain directory into your Godot project files, and then enable
Keychain in Project Settings > Plugins.
Find the ShortcutEdit scene in
res://addons/keychain/ShortcutEdit.tscn and drag and drop it in the settings scene of your project. To put your input actions into groups, you can edit the
groups dictionaries found in the
Keychain.gd autoload script. Note that you cannot create new input actions this way, they must already exist in the Project Settings' Input Map.
You can also create your own shortcut profile by creating new
ShortcutProfile resources and preloading them in the
profiles array. Or you can create shortcut profiles using the addon itself while your project is running, and they will get saved as
.tres Godot resource files inside
In order to make certain actions not appear in the settings, you can add their names (as they're found in the Input Map) in the
If you'd like to avoid editing the addon files themselves to ensure easy updating, you can access the
Keychain autoload and edit the variables from somewhere else in your project.