The global LIRC configurations are stored in /etc/lirc. We are interested in the following files:
- hardware.conf: Defines where our IR sensor is installed and the overall setting for our sensor.
- lircd.conf: The remote control configuration file; this contains the recorded outputs for your remote control's keys and maps them to specific key symbols. You can often obtain pre-recorded files from lirc.sourceforge.net/remotes, or you can record a custom one, as shown next.
- lircrc: This file provides mapping of each of the key symbols to specific commands or keyboard mappings.