I'm working on a plugin. I would like to know if there is a way to tell the plugin to start when you press a particular key on your remote. A color key for example.
I would like to make a plugin that will store the satellite position to the dish mover at a push of a button.
I tried this thinking it might launch when you press the red button, but it does not appear to work
PluginDescriptor(name="myplugin", description=_("myplugin"), where = PluginDescriptor.WHERE_CHANNEL_SELECTION_RED, fnc=main)