[mythtv] RFC: MythPopupMenu

Philippe C.Cattin cattin at vision.ee.ethz.ch
Thu Sep 18 16:02:25 EDT 2003


Hi,

In a recent thread from Tako 'Stop recording patch and some small fixes' 
the idea of a popup menu came up .

I had a similar idea while adding more features to my mythbrowser module 
(I just didn't have enough buttons to map all the features I wanted). 
But I didn't want to discuss the idea before I had some code/sample to 
show my point. Now that the discussion started I don't want to hold back 
my thoughts.

Here comes my vision of a myth popup menu:

- Menuitems should not only be limited to Labels/Images but it should
   also be possible the e.g. change their value with the left/right
   buttons. In particular I thought of

     + binary option with a checkmark
     + value options such as volume/brightness/color/zoom-level...

   this way we would for example control the livetv settings without all
   the F-keys from a simple menu!

- Here comes the real nice part! It should be possible to map each menu
   items left/right actions to a key via a text config file. The user can
   therefore map e.g. the volume control to two keys of his choice on the
   keyboard and therefore define some kind of a short-cut to the menu. If
   one could subsequently hide such a keyboard-mapped option from the
   popup menu would of course be nice too.

If all myth keyboard actions are defined in such a popup menu, that can 
tailer it to his needs and to suit his remote. It should even be 
possible to control myth with only the cursor keys, a menu key and the 
activation key.

what do people think of this suggestion? Isn't this a possible way to 
make myth keyboard mapping configurable???

regards, Philippe




More information about the mythtv-dev mailing list