[mythtv-commits] Ticket #2239: Patch to accept remote buttons as logical identifiers.

MythTV mythtv at cvs.mythtv.org
Thu Aug 24 13:06:33 UTC 2006


#2239: Patch to accept remote buttons as logical identifiers.
-------------------------------------+--------------------------------------
 Reporter:   navahogunleg at gmail.com  |       Owner:  ijr
     Type:  enhancement              |      Status:  new
 Priority:  minor                    |   Milestone:     
Component:  mythtv                   |     Version:     
 Severity:  medium                   |  
-------------------------------------+--------------------------------------
 This patch allows MythTV to accept remote buttons (coming from LIRC) as
 logical identifiers. So in stead of configuring LIRC to map a button to a
 'keypress', this patch will make the configured identifier to be correctly
 interpreted by Myth. ( As discussed in this thread: http://www.gossamer-
 threads.com/lists/mythtv/dev/207002#207002 )

 Old way:
 begin
 prog = mythtv
 button = TV
 repeat = 3
 config = X              // this keypress would reach Myth
 end

 New way:
 begin
 prog = mythtv
 button = TV
 repeat = 3
 config = remoteTV
 end

 I wrote it so that if, in lircrc, a single character is found, this will
 still be interpreted as a keypress (i.e. it's downwards compatible).

 (There's a known problem however, when Myth requests user input in an
 editbox, one hits a remote
 button, the text-identifier of that button will be inserted in that edit-
 box.)

 Supplied is also the patch to recognise these in MythControls so one can
 actually configure remote keypresses.

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


More information about the mythtv-commits mailing list