Keybinding JSON Format
This is the format of a JSON file describing a keybinding. They need to be placed inside the keybinds
folder within your namespace. Keybinds are used to activate active power types, and toggles.
Fields | Type | Default | Description |
---|---|---|---|
key |
Key | A string that defines what key this binding will use. | |
category |
String | The category this key will fall under. |
Examples
{
"key": "key.keyboard.h",
"category": "key.category.test_category"
}
This example keybind will create a keybind bound to the "h" key, in the category called key.category.test_category
.