elgato stream deck button plugin, that connects to elite dangerous, to get the status for 12 different toggle buttons, 4 buttons to control the power distributor pips and 4 alarm buttons.
If you press the relevant button on your keyboard or hotas, then the image on the stream deck will still change correctly.
When a button has no effect (e.g. when docked) then the image also won't change.
(normal buttons don't need any plugin, they simply simulate a keypress)
Note that this plugin doesn't work if there is only a joystick/controller binding for a function. There has to be a (secondary) keyboard binding.
The source code and installer are here