companion
companion copied to clipboard
Custom css for emulator / web / tablet.
The idea comes from the fact that I cannot edit the emulator.html from the installation folder. I hoped to center it, change the background-color to the same as the deck and remove the help.
I could ask to build in these functions; I suppose that would be fine too. But the ability to load custom css would be much more dynamic and exchangeable.
While the Current Layout is very on brand for the Stream Deck it is not space efficient. ;)
The emulator should be getting a design overhaul in 3.0
If this is still wanted, I think this needs a better plan on how the custom css should be loaded. Should it be an input field in the UI? Or should there be somewhere to upload a css file in the UI?
This probably means that we need to be careful to not break the class names used in future release, and make sure sensible names are in use.
If you added /pressandhold/bank/<page>/<button>
and /release/bank/<page>/<button>
to the HTTP remote control commands, it would be possible for a web dev with just page and button numbers, to build a web page using any size/shape buttons in any quantity, that emulated what the emulator can do.
barely-related musing: imo the current press and release "/press/" would be better named "/click/" but I can see why it might be too late for such a change
@mark-epstein I do want to do some breaking tidying of the various protocols #2079.
pressandhold
shouldnt be necessary, but the http api may be doing something slightly wrong resulting in the hold behaviour to not work as intended