Describe the feature idea
Better controls on the icon being used.
One example where I ran into this limitation, was having a simple media Play/Pause button. I can't seem to find a way to have it toggle between the Play icon and the Pause icon, depending if music is playing or not.
As such, it would be great to have a dedicated icon section to control the icon behavior, independent of the actions.
The main icon states I can think off that would be great having control are:
- Key Up (the normal we have now).
- Key Down (its doing the default scale down to give feedback the key was pressed)
- Long Press
Additionally, having then a "Toggle" capability and 3 more states that would show up if "Toggle" is enabled.
- Key Up Alt
- Key Down Alt
- Long Press Alt
With Toggle, all it would do is alternate between using the primary states (Key Up, Key Down, Long Press) or the alternative states (Key Up Alt, Key Down Alt, Long Press Alt).
Toggle would trigger on button release.
Additional context
I realize that scenarios like mine right now, Media, its easy for the Deck to be out of sync with the Toggle capability, however I see it as something that would then be up to the Actions to handle if it would be that important, where the Action would just trigger the "toggle" or what icon is active, if the primary or the alternative.
Describe the feature idea
Better controls on the icon being used.
One example where I ran into this limitation, was having a simple media Play/Pause button. I can't seem to find a way to have it toggle between the Play icon and the Pause icon, depending if music is playing or not.
As such, it would be great to have a dedicated icon section to control the icon behavior, independent of the actions.
The main icon states I can think off that would be great having control are:
Additionally, having then a "Toggle" capability and 3 more states that would show up if "Toggle" is enabled.
With Toggle, all it would do is alternate between using the primary states (Key Up, Key Down, Long Press) or the alternative states (Key Up Alt, Key Down Alt, Long Press Alt).
Toggle would trigger on button release.
Additional context
I realize that scenarios like mine right now, Media, its easy for the Deck to be out of sync with the Toggle capability, however I see it as something that would then be up to the Actions to handle if it would be that important, where the Action would just trigger the "toggle" or what icon is active, if the primary or the alternative.