From: Bjorn B. <d00...@dt...> - 2003-03-18 23:55:19
|
On Tue, 18 Mar 2003, Lee W wrote: ... > Which is why I believe writing a sort of virtual-IR module for LIRC > might do the trick. > > With regards to controlling the LCD I have got as far as being able to > read in the keypresses as ASCII keycodes and then either displaying them > on screen or starting a particular program depending on the button pressed. > > Is it possible to write an LIRC module in perl (or maybe Java)?, I don't > know (yet) how to program in C/C++. > > LIRC runs as a server daemon doesn't it? So I should be able to just > connect to it and send the correctly formatted command. You could write a program that creates /dev/lirc as a named pipe and writes data to it in a format that lircd accepts. Perl would probably be your best choice for that, since Java does not do named pipes and such. /Bjorn |