[mythtv] Patch to accept remote buttons as logical identifiers

Daniel Kristjansson danielk at cuymedia.net
Thu Aug 24 15:48:15 UTC 2006


On Thu, 2006-08-24 at 16:20 +0100, Stuart Morgan wrote:
> On Thursday 24 August 2006 15:45, Daniel Kristjansson wrote:
> > I don't think direct remote button to action mappings
> > are a good idea. MythTV redefines the meaning of keyboard
> > keys depending on the context for a good reason. Look
> > at teletext for an example, while in the "Teletext Menu"
> > context we remap F7 to TOGGLEBACKGROUND, when we are
> > in the the "ITV Menu" context this is mapped to MENUTEXT,
> > and when we are in the "TV Playback" context F7 is
> > mapped to SIGNALMON. If there were a direct mapping
> > from the remote keys to action, each one of actions
> > would require it's own key on the remote.
> 
> What I have in mind is the treating remote keys exactly like keyboard keys. 
> Thus you can bind one remote key to TOGGLEBACKGROUND, MENUTEXT and SIGNALMON 
> based on context in exactly the way that you can currently bind keypresses. 
> There will be no distinction between keypresses or remote keys, both will be 
> treated in the same way.

Sounds good. There was an patch some time ago which
bypassed the whole context mechanism, I just didn't
want that mistake to be repeated. Making remotes
easier to set up is a laudable goal.

-- Daniel



More information about the mythtv-dev mailing list