Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable multiple modules per plugin #19

Open
wants to merge 70 commits into
base: master
Choose a base branch
from

Conversation

ymauray
Copy link
Contributor

@ymauray ymauray commented Dec 18, 2021

This pull request allows a plugin to expose multiple modules, therefore multiple keys/actions in one single plugin. It is backward compatible with existing plugins.

Example :

func GetModule1() handlers.Module {
        return handlers.Module{
                ....
                Name: "Module 1",
        }
}

func GetModule2() handlers.Module {
        return handlers.Module{
                ....
                Name: "Module 2",
        }
}

func GetModules() []handlers.Module {
        return []handlers.Module{GetModule1(), GetModule2()}
}

The-Jonsey and others added 30 commits July 27, 2020 16:20
Handlers & DBus (gif, clock & counter as examples)
The-Jonsey and others added 29 commits September 7, 2020 19:53
…i-text-methods

Refactored to use api text methods
Modules loading, and dbus method for module info
…ple-deck-support

Added support for multiple streamdecks & config file flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants