#include <GLFW/glfw3.h>
Go to the source code of this file.
◆ anonymous enum
| Enumerator |
|---|
| MAX_APP_BINDINGS | |
◆ BindingCategory
Categories for organization in the help UI.
| Enumerator |
|---|
| BINDING_CAT_MOVEMENT | |
| BINDING_CAT_VISUALS | |
| BINDING_CAT_POSTFX | |
| BINDING_CAT_SYSTEM | |
| BINDING_CAT_COUNT | |
◆ BindingType
Types of actions for color-coding in the UI.
| Enumerator |
|---|
| BINDING_TYPE_ACTION | Single direct action (default).
|
| BINDING_TYPE_TOGGLE | On/Off toggle.
|
| BINDING_TYPE_CYCLE | Cycle through multiple values.
|
| BINDING_TYPE_COUNT | |
◆ app_binding_registry_at()
Returns a pointer to the binding at the given index.
- Parameters
-
| registry | Pointer to the initialized registry. |
| index | Index of the binding to retrieve. |
◆ app_binding_registry_get()
Retrieves the binding for a specific key/mods combination.
- Parameters
-
| registry | Pointer to the initialized registry. |
| key | GLFW key code. |
| mods | GLFW modifier flags. |
- Returns
- Pointer to binding, or NULL if not found.
◆ app_binding_registry_get_count()
Returns the total number of registered bindings.
- Parameters
-
| registry | Pointer to the initialized registry. |
◆ app_binding_registry_init()
Initializes the binding registry and populates it with all application shortcuts.
- Parameters
-
| registry | Pointer to the registry to initialize. |