diff options
Diffstat (limited to 'src/input/custom_key_binding.rs')
-rw-r--r-- | src/input/custom_key_binding.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/custom_key_binding.rs b/src/input/custom_key_binding.rs new file mode 100644 index 0000000..7fdb656 --- /dev/null +++ b/src/input/custom_key_binding.rs @@ -0,0 +1,5 @@ +/// A custom keybindings compatible struct. +pub(crate) trait CustomKeybinding { + /// Create a new instance from the configuration keybindings. + fn new(key_bindings: &crate::config::KeyBindings) -> Self; +} |