◆ clear()
| void hi::v1::keyboard_bindings::clear |
( |
| ) |
|
|
inlinenoexcept |
Clear all bindings.
When loading a new user-binding file, one should do a clear() followed by loading the system bindings, followed by the user bindings.
◆ load_bindings()
| void hi::v1::keyboard_bindings::load_bindings |
( |
std::filesystem::path const & | path, |
|
|
bool | system_binding = false ) |
|
inline |
Load bindings from a JSON file.
◆ translate()
translate a key press in the empty-context to a command.
- Parameters
-
| event | The event to look up in the bindings. |
- Returns
- The event list translated from the keyboard event.
The documentation for this class was generated from the following file: