cog
cog copied to clipboard
Provide a way for Cog to request handling of key bindings
Currently, the FDO platform plug-in hardcodes a set of key bindings (e.g. Alt+Left and Alt+Right to navigate back and forth, see #20 for example), but the correct thing to do would be to provide API in libcogcore to install a set of key bindings in a generic way.
The first step towards this is https://github.com/Igalia/cog/pull/574 which moves the key binding handling into CogView, then after that we would still need a way to set keybindings and action (or callbacks?) that handle them.