From: Roeland M. <roe...@te...> - 2004-09-17 09:26:07
|
On Fri, Sep 17, 2004 at 10:59:30AM +0200, Mario Ohnewald wrote: > Hi, > > > If you compile the lirc source, than there is html help under the > > doc dir. Look at the file help.html for 'adding new remote > > controls'. > > Ok, let me get it streight... > 1.) i can create my own config with irrecord > 2.) i will end up with a config like this?!: > begin remote > name linux-input-layer > begin codes > ESC 0x12345 > 1 0x12346 > 2 0x12347 > > But how will i implement unix commands in my lircd.conf? > I saw that there is a irexec function. But how do i use it? > > Cant i just do something like (lirc.conf): > > begin remote > name linux-input-layer > begin codes > reboot 0x12345 > halt 0x12346 > > No, you have to create a .lircrc file in your home dir. lircd.conf is for defining buttons. Read the file configure.html. small example: begin prog = irexec button = RADIO config = radio -qf 96.7 end -- Roeland |