[mythtv-users] Programming remote button bindings (WAS: What major features are planned for 0.27?)

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 3 15:14:02 UTC 2012


On 12/03/2012 12:31 AM, Nigel Pearson wrote:
> In early Yuletide, Simon Hobson did write:
>
>> Correction: I've just looked, and there is a key defined for
>> PLAYPAUSE, though I've no idea whether there is a sensible mapping
>> for any particular model of remote. It'll depend on what IR code the
>> manufacturer decided to send, and how a developer decided to
>> translate it.
> Does MythTV actually care which of the 3 play codes are sent?
> I thought TV playback just used TogglePause for PLAY, PAUSE,
> or PLAYPAUSE ?

Simon was saying that the kernel defines a KEY_PLAYPAUSE button (it's 
not a MythTV action name).

In MythTV, we have the ones I mentioned.  TV Playback|PAUSE uses 
DoTogglePause() and TV Playback|PLAY uses DoPlay(), which has different 
behavior from DoTogglePause().

Mike


More information about the mythtv-users mailing list