I installed Rasplex 0.71 on my Raspberry Pi 2 and started creating a lircd.conf. I just placed the file under ~/.config and suddenly the remote starts working after a reboot. How is this possible? Is this the default location Rasplex is searching for the lircd.conf? And how does Rasplex know how to map those buttons?
I am quite happy that it works but I really would like to know, why it works.
There are a number of files in different folders which if they contain the correct data in the correct format they will overwrite the default files, as you have discovered lircd.conf is one of those, Rasplex takes the function to hex codes (which is what Rasplex reads) mapping that you have declared in the file and substitutes these in the remote mappings. There is a default lircmap.xml in the system files.
This way it can be tailored to different users requirements without recoding.
I installed Rasplex 0.71 on my Raspberry Pi 2 and started creating a lircd.conf. I just placed the file under ~/.config and suddenly the remote starts working after a reboot. How is this possible? Is this the default location Rasplex is searching for the lircd.conf? And how does Rasplex know how to map those buttons?
I am quite happy that it works but I really would like to know, why it works.
Thank you.
Forgot to mention you may like to upgrade from 0.7.1 to 1.0.0. If you change the update channel in Preferences-System-Updates to Pre-Release it will auto update.
Thanks for your help, Ned. I have seen the new release of version 1.0 when writing the 0.71 to the sd card. I currently have two raspberry pi 2 running Rasplex, so I will give the new version a try at the weekend
@HTP.ProXy said:
Thanks for your help, Ned. I have seen the new release of version 1.0 when writing the 0.71 to the sd card. I currently have two raspberry pi 2 running Rasplex, so I will give the new version a try at the weekend