|
From: Olivier P. <ml....@fr...> - 2007-05-10 21:17:10
|
Nick Morrott a écrit : > On 10/05/07, Olivier Parisy <ml....@fr...> wrote: > > Are all coded recorded unique? Did you record in raw mode or using a > suitable protocol header file (like RC-5)? > Hum, I don't know. I used irrecord --driver="default". And yes, actually, all recorded codes differ (and also their pre_data value). > > Each block requires a remote name, which should be unique. Within > uniquely-named remote configurations, you can reuse button names. When > configuring your lircrc file, you can specify the remote definition in > addition to the button name, enabling LIRC to determine exactly which > button you want to use. > That sound exactly like what I want to do. > > On my hachine, I have a button configured as follows: > > # TV Guide > begin > remote = SKY_NAVIGATOR > prog = mythtv > button = TV_GUIDE > repeat = 3 > config = F2 > end > > Parameters and values are self-explanatory - my /etc/lircd.conf > contains several remote definitions so I specify the remote. I have 3 > buttons named in /etc/lircd.conf is called "PLAY" in different remote > definitions, so you should not have problems re-using button names in > this way. > Nice! Thank you. That "remote" parameter is what I needed. Best regards, Olivier. |