cockpit
cockpit copied to clipboard
Allow widgets to register their own Actions
This seems like a more reasonable (and powerful) approach than defining all of them within the joysticks/protocol.ts file, which I think should only be used for global interface actions.
As some examples, arm toggling and view switching are already handled by widgets, so those widgets could define the corresponding actions.