lirc-sharp is a set of Mono/.NET bindings for the LIRC Client Library.
The latest pre-release of lirc-sharp is version 0.0.9. This is a development version and I do not expect it to work perfectly for everyone. Send bug reports to me via e-mail.
News:
- Introducing lirc-sharp 0.0.9 (12 Aug 2006)
So what’s lirc-sharp, anyway?
lirc-sharp is a set of Mono/.NET bindings for the LIRC Client Library.
LIRC is a piece of software that enables users to use infrared remotes with their computers, as well as use an infrared transmitter on a computer to communicate with other devices. One practical use is for making a media remote control, for controlling things like playback in music players and movie players that we often use when not sitting at the desktop.
This is a pre-release of what will be lirc-sharp 0.1.0…as of now I don’t plan to add any more features to it until post 0.1.0. Right now I’m chasing down some bugs in it and plan to smash it bit more here before I call it a 0.1.0 release. The API has changed quite a bit since I first published this module in my subversion repository and if you did try using it before, you’ll find that it makes a bit more sense now than it did.So why am I writing this? lirc-sharp will enable any developer on a Mono/.NET language to very easily connect to the LIRC daemon, parse the lircrc config files, and be listening for commands. In just a few lines of code, one can be listening for specified LIRC commands!
I am developing this for an Mono application that will relay LIRC commands to D-Bus enabled applications; initial support will be for Banshee and Muine but it will be easy to add your own application. More to come on this!As always, visit the project page for the full details, and a download link.
If you develop an application using these bindings, please contact me and let me know!
This was designed and tested on lirc 0.8.0 only. It should be backwards compatible for anyone running older libraries - the API hasn't changed in years.
I have written a simple proof-of-concept plugin for the Banshee Music Player.
I am also working on another project called lirc-dbus-relayer which will relay specified LIRC commands to D-Bus enabled applications.
It uses some C glue...if anyone's a real interop pro and understands how to keep a C file descriptor alive between function calls, let me know. Maybe we can get rid of the C glue :)
Right now I'm keeping the code in my personal svn repository. You can check out a copy by issuing the following command:
svn co svn://sting.vanstaveren.us/trunk/lirc-sharp
You can also view the source online.