fredemmott / StreamDeck-Discord

Control the Discord application with the Elgato StreamDeck
MIT License
275 stars 23 forks source link

Mute and Deafen Multi-Action Support #31

Closed RKirkpatrick closed 3 years ago

RKirkpatrick commented 3 years ago

I tried to get the set mute/deafen on and off working with as little changes as possible. A better way to do this would be to add a value option in the property inspector HTML to change between mute and unmute. That would use fewer actions but be more complex to implement because each action instance would need to store a different value. Tested on Windows 10 and works very well.

fredemmott commented 3 years ago

Thanks so much! I should be able to look throug hthis in the next day or two

fredemmott commented 3 years ago

Thanks; I'm going to change the text and constant names to use 'mute toggle', 'mute', 'unmute', etc for consistency with discord itself; I'll probalby change the new IDs too which will mean they'll need re-setting-up

A better way to do this would be to add a value option in the property inspector HTML to change between mute and unmute.

I actually prefer the separate actions: