-
Notifications
You must be signed in to change notification settings - Fork 357
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
Pin assigned to addon will not be unassigned #667
Comments
Just want to add the comment above only works for Profile 1 (Base Profile): For profile 2-4, there's actually no way to unassigned the previously assigned PINs. Similarly, if any new PIN is assigned to a Addon, it only appears on Base Profile, but not Profile 2-4. |
Two things, though in general I believe all of this to be true.
I have some code that attempts to unassign the old pin, but it was overzealous is some form so I think it may not be triggering here when I intend it to. I can try to take a look.
This is a tricky one. I think this probably needs a UI/UX conversation, because the worst part is the "Assigned to Addon" pins in profiles 2-4 have no affect anyway, because profiles aren't allowed to unset the pins of addons at present. So, it's almost as if they shouldn't be restricted in profile 2-4, but what's probably better is they shouldn't even be reflected in those profiles' UI since they don't matter. |
docToPin and our USB D+/D- handling code only managed the core profile configuration, but it also needs to set the fields in profiles. fixes OpenStickCommunity#667
#726 will address the latter problem where the assignments don't affect the profiles. It wasn't that tricky in the end. The former problem is trickier and needs another look, but the workaround above (assigning to -1 manually) works for the interim. |
Prerequisites
Please check the following before posting an issue / bug report.
Context
Please provide all relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Expected Behavior
Pins previously assigned to addon should be automatically unassigned if unused, but this is not always the case.
Current Behavior
Taking Turbo addon for example
Steps to Reproduce
As explained above.
Screenshots & Files
x
The text was updated successfully, but these errors were encountered: