◆ clear()
| void tt::KeyboardBindings::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.
◆ loadBindings()
| void tt::KeyboardBindings::loadBindings |
( |
URL | url, |
|
|
bool | system_binding ) |
Load bindings from a JSON file.
◆ loadSystemBindings()
| void tt::KeyboardBindings::loadSystemBindings |
( |
| ) |
|
|
inline |
◆ saveUserBindings()
| void tt::KeyboardBindings::saveUserBindings |
( |
URL | url | ) |
|
Save user bindings This will save all bindings that are different from the system bindings.
◆ translate()
translate a key press in the empty-context to a command.
The documentation for this class was generated from the following file: