From: Olivier P. <ml....@fr...> - 2007-05-10 18:42:45
|
Hi all, I am the owner of a multi-function remote: it can be used to pilot a TV, a DVD reader or a VCR (using a set of buttons to choose which one is targeted). While recording it, I noticed that most keys were associated with different pulses with respected to the chosen target (that's typically the case for the 0..9 digits). Hence, I used a set of "remote" blocks in my lircd.conf file, one for each target. I would like to know what is the best practice for naming my keys in this situation: can I use the same name for a given button in each "remote" block? Or should I use unambiguous ones, but appending a prefix to each as an example (POWER_TV, etc...)? For readability purpose, I would prefer the first option (I see that this works properly in irw, where the button name and the target are displayed). In this case, what is the syntax express this target/button pair in ~/.lircrc files? Best regards, Olivier Parisy. |