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

Load profile based on device present #502

Open
Dawied opened this issue Jul 24, 2023 · 3 comments
Open

Load profile based on device present #502

Dawied opened this issue Jul 24, 2023 · 3 comments

Comments

@Dawied
Copy link

Dawied commented Jul 24, 2023

Would it be possible to add functionality so that a profile is loaded when a certain usb device is present? Maybe using a plugin?

@WhiteMagic
Copy link
Owner

That would require changes at the core of Gremlin, something a plugin can't get to. I'm also unclear what purpose such functionality would have as it would have a large number of corner cases which don't have good solutions. So this seems like a feature that would add complexity and confusion for no real benefit.

@Dawied
Copy link
Author

Dawied commented Jul 25, 2023

It would have the same purpose as the existing mechanism to load a profile when a certain program is started. The purpose would be to have a different configuration based on plugged in controllers. I can see though how this might be confusing. Thanks!

@WhiteMagic
Copy link
Owner

It's more that I don't see what you would change based on what controllers are connected. If different ones are connected for different games and have different bindings then that's solved via the application profiles. If it would be different profiles that define actions for the particular device only then the current profile already only loads actions for devices present in the system.

On the technical side it's not clear what such a system should do when ambiguous hardware configurations are present, like there are profiles for two independent devices but none for the two at the same time. What should be done there, effectively neither answer is correct because all options are sensible.

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

No branches or pull requests

2 participants