Lirc howtos
The Irdroid application can work with the LIRC (Linux Infrared Remote control) configuration files. The LIRC configuration files are in principle simple text files which contain remote codes and can be edited with your favorite text editor so that you can make one custom configuration file with all the remotes that you need in it. To use a custom LIRC configuration file you need to tap on “Menu -> Clear conf” and after that “Parse file” to parse your LIRC configuration file. The “Parse file” menu option will allow you to type the path to your LIRC configuration file.There is one more requirement which is about matching the app button controls to the ones in your lircd file (an Example is available below).
Example:
begin remote name Motorola_DTH320-4 bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9107 4419 one 660 1587 zero 660 466 ptrail 652 repeat 9108 2176 pre_data_bits 16 pre_data 0x61F4 gap 108021 toggle_bit 0 begin codes power becomes "POWER" 0x00000000000058A7 1 0x00000000000040BF 2 0x000000000000C837 3 0x00000000000030CF 4 0x0000000000006897 5 0x00000000000028D7 6 0x000000000000E817 7 0x00000000000018E7 8 0x000000000000B04F 9 0x0000000000009867 0 0x000000000000708F mute becomes "MUTE" 0x00000000000050AF guide 0x00000000000039C6 tv 0x00000000000041BE interactive 0x000000000000C936 up 0x000000000000D12E down 0x0000000000008976 left 0x00000000000011EE right 0x000000000000B946 ok 0x00000000000008F7 plus 0x000000000000A857 question 0x000000000000F10E back 0x000000000000619E volup becomes "VOL+" 0x00000000000048B7 voldown becomes "VOL-" 0x000000000000D827 chanup becomes "P+" 0x000000000000E01F chandown becomes "P-" 0x000000000000807F red 0x000000000000F807 green 0x0000000000007887 yellow 0x00000000000020DF blue 0x000000000000906F end codes end remote