[mythtv-commits] Ticket #757: Translate IR keypresses directly to actions

MythTV mythtv at cvs.mythtv.org
Mon Dec 5 05:46:26 EST 2005

#757: Translate IR keypresses directly to actions
 Reporter:  mythtv at hburch.com  |       Owner:  ijr
     Type:  patch              |      Status:  new
 Priority:  minor              |   Milestone:     
Component:  mythtv             |     Version:     
 Severity:  medium             |  
 Currently, IR symbols are translated by LIRC to IR key presses, which
 MythTV translates to character key presses, which are then translated to

 This patch removes one of these steps.  It converts IR key presses
 directly into actions.  It does this internally by mapping them to pseudo
 key numbers.  Externally, IR keys are called "remoteFoo", where Foo is the
 description of the key in lircd.conf.

 What are the advantages?
 1) simplified configuration: .mythtv/lircrc not required (although it's
 the only place that repeat and delay commands can currently be specified)
 2) easier configuration: user can think in terms of IR keys instead of
 having to remember IR key => key mapping
 3) increased flexibility: IR keys can map arbitrary to actions without
 affecting keyboard mappings, IR keys on different remotes can easily map
 to different actions (if they have different names)

 Disadvantages: Although the initial setup get a user basic functionality:
 arrow keys, enter, etc., this is not always the case due to different
 names on different remotes.    When this happens, the current interface,
 even with mythcontrols, not great.

 This change is compatible with old systems.  Any IR key presses not
 understood are reconsidered as the key to which they correspond in lircrc.

Ticket URL: <http://svn.mythtv.org/trac/ticket/757>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list