The Fugue

Counterpoint by Hans Fugal

lircr

Posted by Hans Fugal Sun, 25 Jun 2006 00:02:00 GMT

lircr (pronounced 'lurker') is a LIRC client library for Ruby. It's simple, it's easy, it's fun. If you got LIRC, get lircr. I am not responsible if you grow more hair on your index finger or thumb.

require 'lirc'
lirc = LIRC::Client.new
event = lirc.next
if event.name == "play"
    system "xmms", "/av/music/3.mod"
end

Posted in | 1 comment | Tags , | atom

Comments

Leave a response

  1. Jacob Fugal
    1 day later:

    Speaking of 3.mod, don't you think it would be great if cell phones could use MikMod ring tones? I was just thinking about using 3.mod as a ringer a few days ago...

Leave a comment