timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.12k stars 239 forks source link

Dynamic buttons #257

Open wpietri opened 1 year ago

wpietri commented 1 year ago

I love this project! I've only had my Stream Deck for a couple of days, but it's already making my life better by letting me do common things instantly. The current release is great and already lets me do a lot of what I want. But it would be even better if there were a way to do buttons that change. Three examples:

  1. I have the Elgato Key Light, which I use during video calls. Right now I have two buttons, on and off. But what I'd rather have is one button that shows the current state of the light and pressing it does different things. E.g., if it's off, pressing it turns it on. If it's on and I hold it down, the brightness cycles.
  2. I have a security camera that can detect motion. I already have a button that opens up the security cam interface. But I'd love if it I could have a motion alert change the image on the button. E.g., doing a short animation and then ending up with a red notification marker on top of the icon.
  3. I'd love to be able to use the buttons for small graphs that update every 0.25 seconds or so. E.g. system load, website traffic levels. With then the button opening the relevant monitoring interface.

I could think of a few ways to do this. Maybe the simplest is a Python plugin system such that I subclass an object that receives keyup/keydown events and that can call a method to update the image. Or I could also imagine the Stream Deck UI app launching processes that talk a simple protocol over a socket.

Data-007 commented 1 year ago

Hi

249 #208

@wpietri great ideas and suggested improvements. Personally, I wish @dodgyrabbit would release his semi-working #208 version, see I think it was #249.

-- Data

allegfede commented 1 year ago

will be also great if we could have a way to increase the brightness of the last button was pressed (or switch it to another picture) to remember the "state" we are. Than the button could return to the normal brightness (default picture) when another key was pressed

RobSpectre commented 1 year ago

Would love to see a simple API to change button presentation and function dynamically. This would create the possibility of multi-step keypresses.

coolapso commented 1 year ago

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.

if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui