My software
mklircrc

April 5 2008

mklircrc – Generating LIRC configuration files

Filed under: mklircrc, — Thiton at 21:32

Writ­ing a LIRC con­fig­u­ra­tion file is the ma­jor part of any re­mote con­trol work with Lin­ux. Un­for­tu­nate­ly, the low de­gree of script­ing avail­able in LIRC makes this a lot hard­er – there is no ab­strac­tion from the but­tons on the re­mote con­trol to a gen­er­al con­cept of the task one wants to achieve with the re­mote, which could then be in­ter­pret­ed by clients in their re­spec­tive ways.

To ad­dress that is­sue, I wrote mk­lir­crc. By an­no­tat­ing your lir­cd.conf with a few words, you can tell mk­lir­crc which high-lev­el task like "pause" or "raise vol­ume" you want to get done, and the script will write the LIRC con­trol file for you, in­clud­ing all ap­pli­ca­tions it knows about – cur­rent­ly mythtv, xine and mplay­er, but more are easy to add.

Down­load source tar­ball

Comment

TextMixedHTML

Valid XHTML Strict 1.0 Valid Atom Design by Northern Web Coders