LinHES Forums
http://forum.linhes.org/

LIRC to control applications
http://forum.linhes.org/viewtopic.php?f=6&t=19144
Page 1 of 1

Author:  cahlfors [ Sun Oct 26, 2008 7:18 am ]
Post subject:  LIRC to control applications

tjc wrote the following words of LIRC wisdom:
tjc wrote:
It is entirely possible to create a mapping where all the button names are set to produce the exact same application input for all applications. It is also possible for a given button to produces a different input for each application. Please note that there are no magic defaults. Any application which doesn't have an input mapping given for a particular button will not get any input when thst button is pressed.


Now, I would like to use the remote to control all the applications available from MythTV. Specifically, I would like the "menu" button to invoke the menu as if "M" had been pressed in all applications (such as MythGallery etc).

I know the procedure, but don't know the names of the included applications that I need to specify in lircrc.

Adding the following to lircrc did not help:
Code:
## MythGallery

begin
   prog = mythgallery
   button = Menu
   config = M
end


"Mythgallery" was just a wild guess on my part. What are the real names of things?

Thanks,
/Chris

Author:  tjc [ Sun Oct 26, 2008 9:44 am ]
Post subject: 

Ah. Sorry it just doesn't work that way.

There isn't any distinction between the various plugin modules for MythTV. They're considered to be part of the mythtv application, and you only get one lirc button mapping per application. You may be able to do something with the internal key mappings for MythTV...

Author:  cahlfors [ Tue Oct 28, 2008 1:00 pm ]
Post subject: 

There is something fishy here. The following was already in lircrc:
Code:
begin
    prog = mythtv
    button = Menu
    config = M
end

In MythTV, the key "M" is specified for Menu globally and in MythArchive in addition. Yet it does not work. I have to check my hex codes with irw!

Cheers,
/Chris

Author:  tjc [ Tue Oct 28, 2008 6:32 pm ]
Post subject: 

'M' or 'm'? Case may matter...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/